You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
123456789 |
- const resolve = dir => path.join(__dirname, dir)
- module.exports = {
- //只是在h5端生效,在小程序端是不生效端
-
- chainWebpack: (config) => {
- config.resolve.alias // 添加别名
- .set('@', resolve('src'))
- }
- }
|