-
初始化项目 npm init
-
安装 webpack、webpack-cli npm install webpack webpack-cli --save-dev
-
安装 webpack-dev-server、html-webpack-plugin
-
配置 webpck.dev.config
-
安装 babel-core babel-loader babel-polyfill baber-preset-es2015 babel-preset-latest
-
新建 .babekrc -默认用来执行babel规则的
-
安装sass转换 规则是从后完全的 1. style-loader(打包到index的) 2. css-loader 3. postcss-loader(补充兼容格式的) 4. sass-loader
-
Notifications
You must be signed in to change notification settings - Fork 0
Dreamvsforward/js-design
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
js-设计模式
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published