Vue-cli3.0 multi-page access, unable to load components

use vue-cli3.0 scaffolding to build a multi-page project. The current project structure is like this

clipboard.png

configure the multi-file entry in vue.config.js as follows:

import Vue from "vue"
import Router from "vue-router"
// import Home from "./views/Home.vue"

Vue.use(Router)

export default new Router({
  mode: "hash",
  base: process.env.BASE_URL,
  routes: [
    {
      path: "/",
      name: "home",
      component: () => import("./views/Home.vue")
    },
    {
      path: "/about",
      name: "about",
      // route level code-splitting
      // this generates a separate chunk (about.[hash].js) for this route
      // which is lazy-loaded when the route is visited.
      component: () => import(/* webpackChunkName: "about" */ "./views/About.vue")
    }
  ]
})
Nov.26,2021

if you visit / admin/admin.html , you actually get the static file under public , not after vue injection.
if you have multiple pages, you can directly access the path in the route. For example, about : http://localhost:8080/about


is there a config.splitChunks in the function (chainWebpack) in the master's configuration file?
I also encountered this problem because pages [*]. Chunks is not configured, so many files are not injected into html

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-1e5139e-4465b.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-1e5139e-4465b.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?