Skip to content

CoooooLer/webpack4-base

Repository files navigation

webpack 4.29.6 + vue/cli 3.5.3

PS:主要涉及 webpack.config.js 和 package.json 两个文件。

PS:脚手架支持jsx语法,不需要单独配置!!!

依次安装的插件

npm i webpack vue-loader
npm i acorn
npm install  webpack-cli
npm i css-loader  
npm i style-loader
npm i url-lodaer file-loader  
npm i stylus-loader stylus
npm i webpack-dev-server
npm i cross-env
npm i html-webpack-plugin

Project setup

npm install

Compiles and hot-reloads for development

npm run serve

Compiles and minifies for production

npm run build

Run your tests

npm run test

Lints and fixes files

npm run lint

Customize configuration

See webpack4.x-extends.

About

No description or website provided.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published