路径别名配置分别有两种方式 首先展示一下项目结构 对照项目结构配置 在项目根目录下创建vue.config.js文件 module.exports = { configureWebpack: { resolve: { alias: { "assets"