the desired effect is to match the component to replace the original component. Why does the original component not disappear after I match it? could you tell me < router-view > < router-view > how to put it ?...
Global styles are placed under assets under src, and inport is introduced in main.js. after packaging and deployment, the global style of redirect to home, does not take effect when is used and needs to be refreshed, but it takes effect when it is d...
Why click into the blank ...
Don t say too much, just go to the code, this is my Vue-router demo code, open the runtime router-view is not rendered, see who can find out what the problem is. this is the directory of the file index.html main.js App.vue index.js,router home.v...
I used to make a route judgment in the navigation guard in the component. If it was a route before, I refreshed the page once, but now the requirement is not to judge, no matter which page is refreshed before entering the login page. I have tried a lot ...
A home page that needs to distinguish between multiple countries the current directory is like this index_countrytNameindex _countryName.vue the route country in this place can be empty. what s the difference? ...
problem description Route jump is not overheard the environmental background of the problems and what methods you have tried beforeRouteEnter (to, from, next) { console.log( ooo ) }, $route :{ handler:function(to,from)...
koa API: http: xxx,xxxxxx.com weapp t. Direct address bar access display 404 it should be that nuxt accesses the weapp token page under the page project by default. If I want to access the koa interface in the address bar, how can I? ...
after clicking on the message panel, click inside the route jump to keep the message panel from disappearing, and click on the route jump inside to find a problem. suppose that when I jump from the meeting list: schedule meeting to the meeting details...
I use vue+vue-router to develop projects, and then because it involves pages that need to introduce third parties, I use iframe to store third-party pages. but there are two problems, 1. That is, when the iframe jumps inside, pressing the return key t...
A very simple template. If you want to take the parameters on the route, you will report the following error console.log, the address bar is xxx.xxx.com -sharp loading?ck=123456&id=123456 here is my code <template> <div class=&qu...
this is my routing configuration { path: todo Todo , name: Todo , component: () => import( . views todo Todo ), meta: { title: } }, { ...
nesting routing in the official website, the original text says const router = new VueRouter({ routes: [ { path: user :id , component: User, children: [ { user :id profile UserProfile User <rout...
vue-cli project version update, there is a strange phenomenon. Enter a link to a page directly in the browser and have been updated to the new version. At this time, if you click logo to get to the home page, and then go back to the previous link, the in...
vue-cli project version update, there is a strange phenomenon. Enter a link to a page directly in the browser and have been updated to the new version. At this time, if you click logo to get to the home page, and then go back to the previous link, the in...
I encounter a little problem at work. I don t understand why. I hope all of you can give me some advice or give me a direction. thank you. scenario: manage the console project, log in and jump to the home page when deploying, the background (Spring...
I encounter a little problem at work. I don t understand why. I hope all of you can give me some advice or give me a direction. thank you. scenario: manage the console project, log in and jump to the home page when deploying, the background (Spring...
data stored in 1.vuex will lose all data after refreshing the page (F5) 2. I don t want to lose it after refreshing the page. At the same time, I don t want to store it in session and local in window are there any corresponding data storage methods o...
problem description borrow a project written by the iview-admin framework. At first, it was a single page, but now the reason for the demand needs to be changed to a multi-page form. The previous set of routes, which reported memory overflow errors, c...
the animation library Animate is used in the project. The problem now is that the routing jump is completed instantly, so the speed of the animation will be very fast when the route is redirected, and the global animation time will not work. I would like...
create a new hexo-test, under node_modules file and npm init generate package.json and create index.js . Why is there no response and execution after writing code in index.js, hexo clean and hexo s ? just started to study the hexo code and...
just like using a framework, after the global introduction of scss, you can directly call it in other scss folders. locate full screen @ mixin allcover { position:absolute; top:0; right:0; } position up, down, left, right, center @ mixin ce...
Today, the server of the program has been changed, and the program can run, and WeChat Pay has no problem, that is, when calling Wechat to stop recording API (wx.stopRecord), fail, Code: function wxRecStop(recNext) { wx.stopRecord({ succe...
just started the development of Mini Program to see Mini Program login process, why do you need Mini Program to obtain code, through wx.login and then give code to the server, and let the server request Wechat server through code to get openid and other ...
whether the URL parameter of Wechat official account jssdk signature is the front-end URL or the back-end URL? what if the front-end URL vue project uses localhost for local debugging? how to read the document? ...