the scrollBehavior implementation of vue-router is used in the project to navigate to the anchor point, which is already used under history mode. The address bar is already localhost:8080 home basicInfo-sharpvideo, but it is not immediately located but ...
as shown in the figure, are there any ideas or ready-made plug-ins? elementUI looked at it and found that it could not support dynamic component switching. ...
<router-link :to=" detail +userID+ +id" class="peertab" active-class="isactive">< router-link> <router-link :to=" detail +userID+ +id + task "class="peertab" active-class...
[picture] as shown in the figure, the error in the above figure will occur when packing under Linux. There is no problem with packing locally I don t know what the problem is. Ask for advice ...
questions are as follows: : : you can see that the same content area becomes 0 maybe that s why. but why did the content area become 0? about absolute positioning position:absolute is relative to the first parent element in its containi...
I have referenced another component in one component. What can I do to refresh the referenced component when a value changes? or call the destroy method of another component in the current component ...
this is the route: html: : ...
the problem is as follows ajax :header : Home components <template> <div class="home"> <header class="home-header"> header < header> <div class="scroll...
1. The animation is divided into two stages -1-enter the animation -2 from the main page and return to the main page 2. Problem description: when entering the details page from the main page, the main page is destroyed instantly, leaving the details p...
for example, I want to set the information of meta according to type what should I do with it { path: ":type", meta: "detfault" component: (resolve) => require(["@ pages goods list.vue"], resol...
first contact with vue,vue-router < router-view > render blank < router-view > without any error prompt. Here is the code: App.vue <template> <div id="app"> <router-view>< router-view> < div> < tem...
A page-> B page (can return A)-> C page (cannot return B or A) how to achieve this effect? ...
static page error occurs after npm run bulid output main.js Code import Vue from vue import App from . App import VueRouter from vue-router import routes from . router Vue.use(VueRouter) Vue.config.productionTip = false const rout...
in my routes.js : ... children: [ { path: a , name: a , title: a , component: (resolve) => require([ . views a a.vue ], resolve) }, { path: b , name: b , title: b , compo...
I have a total of five pages, using asynchronous route loading, the last four ways are as follows, so that each routing page is loaded on demand, so as not to load too slowly on the first screen. devstyle npm run buildwebpackvuecssimportcssindexcss ...
error content: SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data Technology used in the project node+webpack+vue+vue-router reproduction process: the opening page looks like this: " " id the address bar remains...
I am in the .vue file: export default { name: SomeName , beforeRouteLeave(to, from, next) { console.log( beforeRouteLeave ! , this) }, beforeRouteEnter(to, from, next) { console.log( beforeRouteEnter ! ) } } but the guard ...
I don t know what went wrong. The route will not jump after clicking but the path jumps from http: localhost:8080 -sharp to http: localhost:8080 -sharp userinfo the content of the display is blank, and there is something written in it. router...
1. The code looks like this <a-component> <b-component>< b-component> <router-link :to=" a 1 5" replace>< router-link> < a-component> render the contents of the above component through routing-sh...
Brotherhood question link: https: codeshelper.com q 10. displays the text on the home page by default http: localhost:8080 Fen app.vue <template> <div id="app"> <Header>< Header> <div class="...
this is also used in other projects. Why is this project not displayed var App = angular.module("App", [ "angular-loading-bar", "ngAnimate", "ngSanitize", "ui.bootstrap", "ngFil...
problem description how to center two lines of text with unequal length and variable length in a div (without using js calculation) as shown in the following figure, text-align:center cannot be used directly because the length of the upper and lower...
the java environment has been installed recently, but both vue-cli and cnpm are reported as errors. What should I do? ...
under windows , there is a jenkins . You want to use the plug-in publish over ssh to send the specified file to the remote linux server. After the task is executed, the server cannot find the relevant file. when building, the console output is a...
my friend asked me to do an automatic buying and selling program, and then I wanted to grab the post package of a website and found that it was encrypted, so after analysis, the vue, packaged by webpack can see all the programs when it does the breakpoi...