Vue-cli3 multi-page development, a single page needs to use router, to use html5's history mode, the page opens blank

vue.config.js

module.exports = {
    baseUrl: process.env.NODE_ENV === "production" ? "" : "/",
    outputDir: "dist",
    assetsDir: "assets",
    productionSourceMap: false,
    filenameHashing: false,
    lintOnSave: true,
    pages,
    devServer: {
        historyApiFallback: true,
        overlay: {
            warnings: true,
            errors: true
        },
        open: true,
        hotOnly: false
    }
}

folder directory

clipboard.png

pagesexperiencerouterrouter.js

clipboard.png

after starting the service, the browser enters the address http://localhost:8080/experience.html page to display a blank. If you do not use history mode, the page can be accessed normally.
should be a problem with the path. Ask God to take a look, where is the path wrong?


/experience.html

you don't have routing configured for this


all routes accessed by http://localhost:8080/ in this way need to be configured in router.js


is there a solution? I also encountered the same problem. I now delete router-view and put it in App.vue instead of components, but this can not achieve one-sided route jump. There is a solution to tell


I also encountered this problem, solved link description

.
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1ea6e2b-69581.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1ea6e2b-69581.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?