Some uses of import packages

Development environment package:
webpack-bundle-analyzer code analysis
glob matching project path using
typescript

Note: Different package versions installed during sass use may report
TypeError: this.getOptions is not a function
“sass-loader”: “8.0.2” Load Sass/SCSS files and compile them into CSS. sass-loader depends on node-sass
"node-sass": "4.14.1" to compile sass into css

The following two can be used with the css
“glob-all”: “^3.2.1”,
“purgecss-webpack-plugin”: “^4.0.0”,

Add css browser prefix
"postcss-loader": "^5.0.0",
"autoprefixer": "9.0.0",

uglifyjs-webpack-plugin compress js, go to log

Production environment package:
vue three-piece
vue vue-router vuex

Use
vue-class-component in vue+typescript. You use Class style syntax to write the library of Vue components.
vue-property-decorator is an inheritance of the bread

Guess you like

Origin blog.csdn.net/weixin_40013817/article/details/113770012