After vue-cli3.0 is packaged, there is nothing on the page.

Project built with vue-cli3.0, which is the directory structure

npm run build index
3.0
babel.config.js

Mar.18,2021

if the console doesn't report any errors, it's probably a path problem.


in config/index.js

configure vue cli3.0 with multiple vue.fonfig.js

module.exports = {
    baseURI:'/',//  / app.com/vue 
    outputDir:'dist',//
    assetsDir:'assets',//(js,css,img,fonts)
    lintOnSave:false,//eslint,: true || false || 'error'
    devServer:{
        open:true,//
        host:'localhost',
        port:8081,//
        https:false,
        hotOnly:false,//
    }
}
Menu