vue.js
原文链接: vue.js
lotus_bi/config/index.js
build: {
// Template for index.html
index: path.resolve(__dirname, '../dist/index.html'),
// Paths
assetsRoot: path.resolve(__dirname, '../dist'),
assetsSubDirectory: 'static',
assetsPublicPath: '/demo_bi/',
lotus_bi/src/router/index.js
export default new Router({
mode: 'history',
base: '/demo_bi',