env.d.ts
1 | //配置vue 声明文件不然ts 识别不了vue 后缀 |
package.json
1 | { |
webpack.config.js
1 | const { Configuration } = require('webpack') |
改变的确很难,但结果值得冒险
env.d.ts
1 | //配置vue 声明文件不然ts 识别不了vue 后缀 |
package.json
1 | { |
webpack.config.js
1 | const { Configuration } = require('webpack') |