webstorm 开新项目 setting 设置@目录别名 add @ (languages & Framewors - Javascript - Webpack 4. setting eslint enable
1. svn download
2. add npm run dev(check add)
3. add @ (languages & Framewors - Javascript - Webpack - C:myHomeepan
olanDesksvn_workinspectionTour_webalias.config.js)
4. setting eslint enable
https://blog.csdn.net/gyz718/article/details/70556188
使用WebStorm的Macros宏指令,实现保存的同时格式化代码,并跳至行尾
alias.config.js
const path = require('path') module.exports = { resolve: { alias: { '@': path.resolve(__dirname, 'src'), '_c': path.resolve(__dirname, 'src/components') } } }