if `base` is not '/' , this plugin can't get true path
Opened this issue · 0 comments
hahaxiaowai commented
When the base is the default value, the MPA plugin work is normal,but if set other value, it can't find true path,Do I need to configure other content?
this is my config
base: '/',
plugins: [
vue(),
vueJsx(),
mpa({
// scanDir: "src/pages",
// scanFile: "main.js",
// scanFile: "index.html"
open: './route',
}),
],
base: '/web/',
plugins: [
vue(),
vueJsx(),
mpa({
// scanDir: "src/pages",
// scanFile: "main.js",
// scanFile: "index.html"
open: './route',
}),
],