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

https://github.com/ampmonteiro/vite-preact-htm-mpa

MPA blog demo with vite and preact ( htm )
https://github.com/ampmonteiro/vite-preact-htm-mpa

htm mpa preact vitejs

Last synced: about 1 month ago
JSON representation

MPA blog demo with vite and preact ( htm )

Awesome Lists containing this project

README

          

# Vite + Preact (HTM) => MPA

A Demo simple blog website, to show MPA (MultiPage App) with Preact (with [htm](https://github.com/developit/htm) ) and vite

## images

home:

![homepage](./home.png)

detail:

![detail](./detail.png)

## How run locally

you need:

- node >= 18.13
- npm >= 8-19.3

- just clone the project

- install deps:

```bash
npm i
```

- run dev server :

```bash
npm start
```

## How to build the project

```bash
npm run build
```

### How to preview the project

```bash
npm run preview
```