Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mahabubx7/vite-html-templating-njk
Static Site Generator with HTML Template engine (Nunjacks ~ njk) + Vite bundler
https://github.com/mahabubx7/vite-html-templating-njk
css html njk njk-to-html sass scss static-site-generator tailwindcss vite vituum
Last synced: 1 day ago
JSON representation
Static Site Generator with HTML Template engine (Nunjacks ~ njk) + Vite bundler
- Host: GitHub
- URL: https://github.com/mahabubx7/vite-html-templating-njk
- Owner: mahabubx7
- License: mit
- Created: 2023-07-08T17:15:03.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-07-08T17:51:00.000Z (about 1 year ago)
- Last Synced: 2024-09-22T12:31:17.106Z (5 days ago)
- Topics: css, html, njk, njk-to-html, sass, scss, static-site-generator, tailwindcss, vite, vituum
- Language: Nunjucks
- Homepage:
- Size: 38.1 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# vite-html-templating-njk
Static Site Generator with HTML Template engine (Nunjacks ~ njk) + Vite bundler
## Getting started
### Installation
First clone this repository or use this template to create your repo.
Then, go to the project directory.```bash
$ yarn install # or npm install
```### Run the application
```bash
$ yarn dev # or npm run dev
```### Build this application
```bash
$ yarn build # or npm run build
```After that, you may find a new folder called `dist`. That `dist` directory will hold our production files or final build files.
### Test the production or preview
> Must build your application first.
```bash
$ yarn preview # or npm run preview
```