Packing command
npm run generate
pit!
Introducing js into the page to report errors,
routing jumps are not working,
manual calling of the background interface is not working
Need to nuxt.config.js
be configured in the filerouter
skyline
Under the second-level domain name, you need to write the path name.
If it is the first-level domain name./
// skyline为域名二级要进行配置
router: {
base: process.env.NODE_ENV === 'production' ? '/skyline/' : '/'
},
Has hash模式
nothing to do with whether it is