使用css-loader
和 style-loader
对css
文件进行处理后,css
文件被作为模块也打包在了js
文件中。实际生产环境,我们当然是希望js
文件和css
文件分离的,所以这里就可以使用mini-css-extract-plugin
。
npm | 插件 html-webpack-plugin
npm | loader style-loader和css-loader
开源项目 | shell
这里收集了一下用 shell
写的开源项目。
npm | 安装 jquery
使用 npm
安装,并使用 webpack
打包。
npm | 模块 bootstrap 认识和安装
这里主要介绍使用 npm
来安装 bootstrap
.
pose_score | 引入 bootstrap
在这一章中,我们对除了引入 bootstrap
还会对其他地方进行升级。
pose_score | tensorflow.js 应用
这个主要的是讲述 npm
下安装 tensorflow.js
,然后使用 webpack
打包。