about lazy loading of the routing component of vue-router import Vue from vue import Router from vue-router const page404 = () => import( @ views 404 ) const view = name => import(`@ views ${name}`) Vue.use(Router) const constantRout...
<transition name="fade"> <router-view>< router-view> < transition> style .fade-enter-active, .fade-leave-active { transition: opacity .5s; } .fade-enter, .fade-leave...
want to implement a single-page application managed in the background. It is known that red, blue and black are three different components, and their structure and page are as follows li do you need to use vue-router in this case? vue beginner ro...
the same file will not be re-rendered and loaded on different routes, nor will v-if, the purpose of re-rendering. In order to switch the animation is effective. two The data can be displayed differently according to the data I pass, and the style is the...
use $router.push () , pass the parameter: this.$router.push({name: finance-list , query: {selected_order: response.data} }) this response.data is a large object. Can you usually pass it like this? Or is it just passing its id? ...
similar to the home page of the GitHub warehouse, go to the details page of a file. for example, there is a src folder in the root directory of the repository, and there may be folders in src. The scenario is that there is a file such as a.js, if the p...
-menu |-A |-1 |-2 |-B |-1 |-2 |-C |-D |-E menukeepalivemetakeepalive question 1. A keepalive:true, 12 Arouterview12metakeepalive 1 keepalive:true 2 keepalive:false Apost1post2 A 1get1 ...
webpack.base.config.js: entry: { app: . src index.js }, output: { path: config.build.assetsRoot, publicPath: config.dev.assetsPublicPath, static filename: [name].bundle.js , ...
...
above app.js router.js index.vue menu.vue http: localhost:8080 -sharp index http: localhost:8080 -sharp menu Click the jump button, the route has jumped normally, but the page has not changed. Please give me some advice ...
const router = new VueRouter({ routes: [ { path: , component: Login, }, { path: Base , component: Base, children:[ ...
uselessness uselessness ...
have you ever done back-end routing control? can you send a link to learn about it? thank you ....
which boss has done the back-end control routing, emergency ...
1. There is a data content [ axiaxiajiaoyuzhong ] content is dynamic [more than 5] when a screen displays only one element in the array and changes the content when it slides on the screen. How should I write this? If you use rotation, do you have any...
now is the help document for point navigation. Skip to the appropriate route, but when I switch on the side navigation, there is no border at the bottom of the navigation at the top. How to solve it? ...
...
I know about mode history. I m asking how to get to the characters before the pound sign in hash mode. how to clean up useless characters, such as those before the-sharp sign, after modifying the address bar, and how to exclude paths that are not ...
after refreshing the page, only the parameters of the index received by the parameter id, are lost. What s going on. ...
scenario: there are An and B pages keep-alive setting: include= "A ", only A pages are cached A page has c components when An is loaded for the first time, manually jump to the B page and return then the problem occurs, even the mounted of th...
problem description due to the need for compression on the mobile phone, it is relatively slow to display images after selecting pictures, especially large ones. Usually, images above 6m need at least 5s, which brings challenges to the user experience...
in the process of crawling, js encryption is encountered, and the encryption function is written in a sentence var hex_sha1 = require ( ". sha.js "). then hex_sha1 implements encryption through hex_sha1 ( plaintext ). how can I get this sha.js file...
Centos var mailboxextmail.orgemail.xfindzp.comxfindzp.com ...
such as the title. other people s logo display is normal: logo: : I use ps to open the above logo and modify it to my logo to ensure that the resolution does not change, but my logo is not normal in reality. How should it be solved? ...
I m curious how these QR payment systems have secured their QR codes. What kinds of security mechanisms are there in place? Decoding the QR gives a random string looking like some hash result that contains data for the payment to happen. What kind o...