【文件属性】:
文件名称:webpack-nunjucks-boilerplate:用于静态网站的Webpack + Nunjucks样板,具有内置的所有必要的现代工具和优化功能
文件大小:161KB
文件格式:ZIP
更新时间:2021-04-17 17:46:12
stylelint sass babel typescript webpack
:package: Webpack + Nunjucks样板
静态网站的Webpack + Nunjucks样板具有内置的所有必要的现代工具和优化功能。
:alembic: 特征
:rocket: 用法
# Clone repository
git clone https://github.com/alsolovyev/webpack-boilerplate.git project-name
# Navigate to the project directory
cd project-name
# Install dependencies
yarn # npm install
# Run webpack-dev-server and let the magic happen
yarn start # npm start
# Build the project from sources
yarn buil
【文件预览】:
webpack-nunjucks-boilerplate-master
----config()
--------.babelrc.js(132B)
--------constants()
--------loaders()
--------plugins()
--------.eslintrc.js(836B)
--------tsconfig.json(505B)
--------.stylelintrc.js(1KB)
--------webpack.config.js(400B)
--------webpack()
----package.json(2KB)
----LICENSE(1KB)
----src()
--------home.njk(76B)
--------images()
--------data()
--------fonts()
--------njk()
--------js()
--------sass()
--------audio()
----.gitignore(111B)
----README.md(5KB)
----yarn.lock(289KB)