Vue.js
+ webpack
projects built without vuex
how to jump directly to the user login interface when there is no login?
disable access to other interfaces without logging in
vue-router
how to control
Vue.js
+ webpack
projects built without vuex
how to jump directly to the user login interface when there is no login?
disable access to other interfaces without logging in
vue-router
how to control
for example:
https://www.cnblogs.com/guoxi.
this is the route: html: : ...
webpack.base.config.js: entry: { app: . src index.js }, output: { path: config.build.assetsRoot, publicPath: config.dev.assetsPublicPath, static filename: [name].bundle.js , ...
however, background configuration support is required for this mode to play well. Because our application is a single-page client application, if the background is not configured correctly, when the user accesses http: oursite.com user id directly in ...