...
1. The requirements are as follows: there are two logins (merchant login page, user login page): -1-first login merchant -2-login user -3-after the merchant logs in for the first time, there is no need to log in again, jump directly to the user page us...
this problem occurs only on safari browsers and ios phones. Other browsers are normal ....
there is only one page for the project at present, and there may be more single pages in the future. So my router is just like this for now: import Vue from vue import Router from vue-router import index from @ components index Vue.use(Rou...
this is the way things are now. What may be the reason for this? vue-router is newly installed . ...
now I have such a requirement. There is a B sub-component under A component and a D sub-component under C component. An and C are two independent components. Now I want to click on B component to jump to D component. All the components have been routed. ...
when I use functional rendering, I find that the element I render does not have data-v-xxx, but everything else, and then my style cannot affect the element I rendered manually. The vue component generates an additional data-v-xxx, when generating the e...
routing configuration Why do you switch submenus and take the mounted of the parent component? ...
use prerender-spa-plugin to configure the vue project pre-render webpack as follows there are some dynamic route matching components in the project that cannot be pre-rendered here and there are no matching routes in webpack, but in fact, when you ...
do not expand. because our function is not available yet. ...
is not too cumbersome. The title has been stated very clearly. Go directly to the code. The App.vue is as follows: <template> <div id="app"> <transition :name="transitionName"> <router-view class=&qu...
the route is written as follows routes: [ { path: A , component: A }, { path: B , component: B , children: [ { path: , component: B1}, { path: b2 , component: B2}, { path:...
how can the return event of vue-router be monitored? is there any other way to listen to the history event with the original sound? what is the difference between the return button in the browser and the return in Wechat? I wonder if the return in Wec...
seo is optimized for vue and prerender-spa-plugin is used for pre-parsing, but what about dynamic routing? can t the data be parsed when the prerender-spa-plugin is pre-parsed? ...
vue uses swiper to enter through router-link, and typesetting is not correct, as shown in figure . Why? Code: the code can be downloaded from Baidu s online disk: https: pan.baidu.com s 1ImGg.. <!DOCTYPE html> <html lang="en"...
problem: when adding a route dynamically, because all the data is obtained from the background, the component reference is a variable, but if you do the following, you will report an error, that is, you can t find the module. It seems that require cann...
< H1 > vue-router-3.0.1 uses router.addRoutes () to set dynamic. Dynamic routing is invalid when the corresponding page is refreshed directly < H1 >. Overview of problems vue-router-3.0.1 uses router.addRoutes () to set up dynamic routes, jumpin...
my route is designed as two large routes, and then have child routes, similar to routes:[ { path: home , child:[ { path: home a , } { path: home b , } ] },...
webpack.base.config.js: entry: { app: . src index.js }, output: { path: config.build.assetsRoot, publicPath: config.dev.assetsPublicPath, static filename: [name].bundle.js , ...
component A: loginContent, is triggered to pass response.data after a successful login interface request BA:loginContent Aresponse.data Bresponse.data what is the problem? ...
1, is a library that can display the percentage size of each resource file in the project in an intuitive square size in the browser. 2. It appears almost like this ...
now I have two programs deployed in http: 192.168.1.1:3000, http: 192.168.1.1:3001a,b each have a cookie, of the same key assuming that the key is not set for test,domain and defaults to 192.168.1.1. The fact that path is a br b assigns the value o...
<!DOCTYPE html> <html> <head lang="en"> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>< title> <sty...
create a project using vue-cli , and axios request the server to obtain appid and other information. url parameter is encodeURIComponent (window.location.href.split ( - sharp ) [0]) , vue-router is hash mode, wx.config still report erro...
now the file management project built with vue uses Baidu s webuploader upload plug-in for uploading files $( .webuploader-element-invisible ).attr( webkitdirectory , ) this code supports uploading folders now to support uploading a...