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...
in the app.js file, start the program through pm2. When and how to call this function ! function (e) { var t={}; function r(n) { if(t[n])return t[n].exports; var s=t[n]={i:n,l:!1,exports:{}}; return e[n].call(s.exports,s,s.exports,r),s.l=!0...
submit data in jsp form, how to add layer loading ...
tocount: function (index,item) { for(var i = 0; i < this.datanumber.length; iPP){ if(index == i){ console.log(index == i); item.bool = !item.bool; if(item.bool){ item.count += 1; } else{ item.count -= ...
<!-- --> <swiper> <swiper-item wx:for="{{ sku.all_url }}" wx:key="{{ key }}"> <video class= sku-img wx:if="{{ item.urlType== video }}" src="{{ item.url }}">< video>...
* * do you use flask to be Mini Program s friend ask about Nginx configuration https configuration Thank you I really don t know how to match. No, no, no. * * < hr > the problem may be how to configure https in the flask production environment...