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 )
- Host: GitHub
- URL: https://github.com/ampmonteiro/vite-preact-htm-mpa
- Owner: ampmonteiro
- Created: 2023-03-10T18:55:27.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-10T18:56:41.000Z (over 3 years ago)
- Last Synced: 2025-02-26T21:17:09.103Z (over 1 year ago)
- Topics: htm, mpa, preact, vitejs
- Language: JavaScript
- Homepage:
- Size: 119 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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:

detail:

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