So-called my(@1natsu172's) static web-page boilerplate.
The good minimum settings for handcrafted static web pages has been almost completed, and stable ES.next is also supported. ≒ Chaos.
DEKOMORI is big and heavy structure, but doesn't include generic components and HTML frameworks (like Bootstrap, Foundation) .
https://1natsu172.github.io/DEKOMORI/
- Node.js
- version
>=7.4.0
- npm(yarn supported)
- Git
DEKOMORI based repository is automatically created for your git service.
With this method, Git service and Netlify are automatically integrated and deployed automatically every
git push
. If you don't want to deploy, manually cancel the integration of Netlify or do "🚀 Another way" below.
$ git clone <your-repository-url>
$ cd <your-repository-name>
$ npm install
$ npm run dev
SVG sprite preview is displayed on the googleChrome tab, then the local server will start up.
$ git clone https://github.com/1natsu172/DEKOMORI.git trial-DEKOMORI
$ cd trial-DEKOMORI
$ npm install
$ npm run dev
SVG sprite preview is displayed on the googleChrome tab, then the local server will start up.
Supported services by netlify (GitHub, GitLab, Bitbucket, …)
$ git remote set-url origin <created-repository-URL>
- 1st step: Let's setup pug's
_siteSetting.pug
.
./build/src/pug/_inc/settings/_siteSetting.pug
- 2nd step: Let's setup pug's
block pageSummary
for each page.
Example:
./build/src/pug/index.pug
1natsu
GitHub: https://github.com/1natsu172
Twitter: @1natsu172