Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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
```