vue-ssr-demo
vue-ssr-demo copied to clipboard
如果项目里配置了别名,会出错
比如:
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
'base': resolve('src/base')
}
import demo from 'base/demo'
就会出错
比如:
alias: {
'vue$': 'vue/dist/vue.esm.js',
'@': resolve('src'),
'base': resolve('src/base')
}
import demo from 'base/demo'
就会出错