-
The processing of dynamic routing in vue single page mode
there is such a background system, which is divided into many systems and modules, which involves a lot of operation permissions, and each lander is assigned different permissions, so the operable menus and visible pages are also different.
the previo...
-
How does vue router output data values?
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Document< title>
< head>
<body>
<div id="app">
<h1>Hello App!< h1>
<...
-
Could you tell me how to use vue dynamic routing?
I looked at the official document and I didn t understand it. How should I write it in this.$router.push ( xx1 xx2 )?
...
-
The page opened by Wechat in the vue project is not the current page through the system browser.
Wechat pay in Alipay, complete the payment by opening the system browser. The project is built on vue. Instead of the current page being opened via safari, you are going to the root directory of the route. Not even history with mode. Dear gods, how to so...
-
Asynchronously request data, according to the request data require component
I am working on a page customization function. The template is stored in the background database, so you need to pull the template id, from the background and then follow the template id require corresponding to the components in the directory. For exam...
-
Vue-router switch parameter transfer unchanged
the this.$route.params.id obtained during vue route switching remains the same. you need to click the category and then click the computer before the phone can be changed, as shown in figure .
Click the category-- Mobile
idid1
--id
the code is as ...
-
< router-link > how to pass parameters?
<div class="title">
<span>< span>
<router-link to=" buy_car">go< router-link>
< div>
I want to click on this < router-link >, jump to the route buy_car, and pass several parameters to b...
-
Can vue make it possible for some elements on the parent route page to disappear when the parent route is redirected, and where the child route is rendered?
there is navigation on the left and above. wants the navigation not to move when you jump. renders the contents of the child route on the lower right. originally intended to use v-if to bind to the parent route element Click on the link and render t...
-
How to obtain and store data after vue Wechat scanned the code and logged in
vue project, use Wechat s third-party website to scan the code to log in, according to the official document
first step
var obj = new WxLogin({
self_redirect:true,
id:"login_container",
appid: "",
scope: "",
...
-
What's the difference between path plus `/` in routing?
when defining routes:
const routes = [{
path: ,
meta: {
title:
},
component: (resolve) => require([ . views index.vue ], resolve)
children: [
{
path: a ,
name: a ,
title: a ,
component: ...
-
The parameters of the vue route jump address bar have changed, and the content of the corresponding component is gone.
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="...
-
I want to jump to a sub-route of this route by default when entering a route. How do I configure it?
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...
-
Realization of transition Animation by Vue
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...
-
How should vue-router simulate a system similar to a browser tab?
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.
...
-
Does vue router realize that there is a blank space between two pages in and out of the page?
use vue router to imitate the app page to slide in and out, and there is a white gap between the two pages when Synchronize goes in and out. what is the reason for this? The official document says that if you do not set mode, it is the default Synchroni...
-
How to find the source of the problem of cannot redefine $router
the project is built by vue-cli. SAP, runs without error with npm run dev. After using npm run build, the generated js is put into erb and reported to cannot redefine $router,. Some answers say that vue router is defined twice, or vue is packaged twice,...
-
How to get the background data through vue-router?
Vue rookie, is trying to do a SPA page, encountered a problem looked at a lot of information can not be solved, come here to ask for the opinions of your predecessors.
can vue-router get background data directly? How should it be done? If not, whether...
-
I use vue-cli to build the project, how to configure the online and developed domain name?
how to switch the online and offline domain name url and how to configure config? ask for answers ...
-
Problems with vue-router refresh
uses the following four columns made by vue-router, which is the product details interface, routing to productdescription, under the four columns of product information, purchase records, customer reviews, buyer questions and answers for four differen...
-
How to manually call (re-open) the pull-up loading method for vue-scroller
The list page needs to be pulled and loaded. I have adopted vue-scroller, how to turn on the pull-up loading effect again after pull-up loading is turned off?
main.js
import Vue from vue import VueScroller from vue-scroller Vue.use (VueScr...