/** * 用于ide的路径查找,不做项目配置 * @type {path.PlatformPath | path} */ const path = require('path') module.exports = { resolve: { alias: { '@': path.resolve(__dirname, 'src'), '_c': path.resolve(__dirname, 'src/components'), '_m': path.resolve(__dirname, 'src/mixins'), '_a': path.resolve(__dirname, 'src/assets'), '_s': path.resolve(__dirname, 'src/style'), '_p': path.resolve('src/pages'), '_merchant': path.resolve('src/pages/merchant'), '_platform': path.resolve('src/pages/platform') } } }