项目作者: grayscaleltd

项目描述 :
Eleventy scaffolding
高级语言: CSS
项目地址: git://github.com/grayscaleltd/grayscale-eleventy-scaffolding.git


Grayscale Eleventy Scaffolding

Version 1.1.0

System Requirement

To run this workflow, you should have the following installed globally. If you are on Mac, consider using Homebrew to prevent permission issues.

The package comes with linter files to maintain code style and you are encouraged to have the below linters installed.

Setup

  1. Run npm install in the terminal to install the dev dependencies
  2. Run npm run init in the terminal to initialise build process
  3. Edit base configurations in /src/site/_data/siteconfig.js
  4. Set up environment based config files in /src/site/_data

Development

  • Run npm run build in the terminal to create a compiled copy of the site at /dist
  • Run npm run serve in the terminal for a development instance