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...
class R1 extends React.Component{ render(){ return <div>1< div> } } class R2 extends React.Component{ render(){ return <div>2< div> } } class Rts extends React.Component{ render(){ ret...
const LocalStrategy = require( passport-local ).Strategy passport.use(new LocalStrategy(async function (username, password, done) { FK: username let user = await userStore.getUserByName(username) FK: passwordhash if (user && valid...
ssl certificate has been configured, and most https can grab packets. Why is it that some url packages are unknow?? Is the requested service restricted? ...
set as follows "scripts": { "dev": "webpack-dev-server --inline --progress --config build webpack.dev.conf.js", "build": "node build build.js", "analyz": "set NODE_ENV=production &a...
in Angular , what should I do with Rxjs if one request depends on the result of another? this.getOne().then(data => { Promise return this.getTwo(data); }).then(data => { console.log(data); Promise return this.getThree(data); }).th...