-
How to use the mobile SPA developed by vue2.0 to call the navigation and calling function of the mobile phone?
want to use vue2.0 to develop a small web application for the company, running on the mobile side. How can the above functions be achieved? ...
-
Vue traverses the substitution array
first of all, there is such a piece of data
list[ zhangsan , lisi , wangmazi ]
people[
{
name: zhangsan ,
username:
},{
name: lisi ,
username:
},{
name: wangmazi ,
username:
}
]
then the qu...
-
After the package is developed and packaged with webpack, it is quoted as' NODE_ENV' of undefined'in the project.
I referenced the components of element and wanted to transform it into my own UI library. After packaging, I introduced the project, npm run dev and reported the following error: introduced package: node_modules ipst dist ipst.js error:
Uncaught T...
-
What is the problem that the main.js of the vue project packaged with webpack is too large?
using the vue project packaged with webpack, the main.js in the dist directory has a large number of base64 characters.
what is the cause of this?
...
-
Webpack 95% emitting, can be started.
95% emitting, it can be started normally. What is the reason for this? Will affect later operations?
...
-
Layout height is 100% problem
how can I make the height of -sharpapp full screen?
...
-
How to solve the online Cross-Domain problem by axios
because the sever side belongs to someone else, you can only handle cross-domain requests at the front end
axios how to deal with cross-domain problems. My configuration in proxyTable only works locally
Cross-domain problems occur again in the...
-
About the vue data-driven problem?
questions and requirements: it is said that vue is data-driven, so for requirements similar to accordion (click on a li, to display the contents of the corresponding li, how can it be achieved through data-driven without operating dom? )
such as the f...
-
The implementation scheme of vue: generating route (dynamic route) according to the value from the background
the company wants to do a background management system, and then different roles may correspond to different left menus, that is, a dynamic route, and everyone can see different things. I have seen the document of "Flower underpants " before, that is,...
-
Vue+webpack the same project how to achieve two templates (mobile phone side and PC side), automatically switch templates according to different devices?
for example, personal mini projects need to support both pc and mobile. so it s best to work on a project, which is convenient and convenient. I use vue-cli scaffolding. Do not know how to distinguish between the pc side and the mobile side to write ...
-
Vue-element-admin problem
this "home page " tabs tag card and the left menu are bundled with routes. When you open a lot of pages, switching tabs tag cards will also load routes. Is there any way to prevent tabs switching from reloading routes and leaving the content unchang...
-
What are the routing and permission issues of the vue project page deployed by nuxt?
when users are not logged in, they enter the login page by default, while the login page has a "about us " button. Click to enter the page about us. Click on this.$router.,. Now the problem is to enter the page about us from the login page, refresh and ...
-
Vue reported an error: Cannot read property 'toLowerCase' of undefined "
<template>
<div class="pagination">
<el-row type="flex" justify="end" >
<el-pagination
background
@size-change="handleSizeChange"
@current-change="handl...
-
The problem that dynamic rendering data can not be traversed when getting elements through class
according to the data returned by the background, it is displayed on the page (commodity editing function). The data is an array that needs to be rendered in a loop (but there is a set of arrays in it). The interior of the circular rendering also includ...
-
How does Render in Vue.js trigger events for custom components?
if I want to use the page component of iView in render, how can I trigger its on-change event?
this is written in render, but there is no response
...
-
Vue multi-layer communication, the picture can not be displayed, there is display:none! important
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>vue< title>
< head>
<body>
<div id="app">
<mparent :imgsrc="img" :title=&quo...
-
How does Vue write floating ads?
vue
htmltemplate
jsvardatavue$refs
start it in the updated hook, because other hooks will not catch it (it s useless to put it in mounted) but the advertisement doesn t move. How should I write it? PS: doesn t need the code here. It just wants t...
-
How to omit the content of x-axis label text in Echarts
requirements: for example, the words "wed " on the x-axis above, if there are too many words, will squeeze out the values on both sides. Now I want to keep the three-digit ellipsis display for him too long, indicating that the contents in the pop-up w...
-
How can pages opened by localtion.href in a vue project be cached by router?
Project is an H5 page, nested in Mini Program
A page is a list loaded at the bottom of the scroll
B page is a detail page
When the A page clicks on an item, use location.href = b to jump to page B (because when Mini Program uses the forwardin...
-
Vue global routing beforeEach execution judgment is an error
prompts you to report an error when verifying whether it is a Wechat browser:
:
Global routing judgment Code:
router.beforeEach((to,from,next)=>{
title
const title = to.meta && to.meta.title;
if (title) {
document.title =...