1.7.3 • Published 2 years ago
@lvqconsult/nanosite v1.7.3
Nanosite
Extremely simple, extremely oppinionated static site generator.
To get going run:
npm init
npm i --save nanosite
npx nanosite init
npx nanosite start
And you hit the ground running!
Folder example
src
├─ assets
│ ├─ images
│ ├─ js
│ │ └─ app.js
│ └─ style
│ └─ style.scss
├─ pages
│ ├─ blog
│ │ ├─ article-1.pug
│ │ └─ index.pug
│ └─ index.pug
├─ partials
│ └─ _layout.pug
├─ translations.json
└─ context.js
Commands
nanosite [command]
Commands:
nanosite build [inputPath] [outputPath] Build your site
nanosite serve [inputPath] Serve up the site
nanosite watch [inputPath] [outputPath] [pattern] Watch for changes and build when detected
nanosite start [inputPath] [outputPath] [pattern] Watch and serve the site
nanosite init [outputPath] Bootstrap a new site
Options:
--version Show version
--help Show help
1.7.3
2 years ago
1.7.2
2 years ago
1.7.1
3 years ago
1.7.0
3 years ago
1.6.20
3 years ago
1.6.9
3 years ago
1.6.11
3 years ago
1.6.8
3 years ago
1.6.10
3 years ago
1.6.12
3 years ago
1.6.15
3 years ago
1.6.14
3 years ago
1.6.17
3 years ago
1.6.16
3 years ago
1.6.19
3 years ago
1.6.18
3 years ago
1.6.7
3 years ago
1.6.6
3 years ago
1.6.4
3 years ago
1.6.3
4 years ago
1.6.1
4 years ago
1.6.0
4 years ago
1.5.10
4 years ago
1.5.9
4 years ago