Skip to content
#

multi-page-application

Here are 28 public repositories matching this topic...

roguexiaohuihui
roguexiaohuihui commented Apr 13, 2020

想新增一个alias,像vue脚手架默认填写的:
resolve: {
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src')
}
},

即将@指向到某一个目录,比如app/web/目录,我在webpack.config.js文件添加了

module.exports = {
egg: true,
devtool: 'eval',
target: 'web',
entry: {
admin: 'app/web/page/admin/index.js'
},
cssExtract: true,
dll: ['vue', 'vue-router', 'vuex',

Improve this page

Add a description, image, and links to the multi-page-application topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the multi-page-application topic, visit your repo's landing page and select "manage topics."

Learn more

You can’t perform that action at this time.