Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/alexferl/mithril-boilerplate
Mithril.js boilerplate with Vite
https://github.com/alexferl/mithril-boilerplate
mithril mithril-boilerplate mithril-starter mithril-template mithriljs rome vite vitejs
Last synced: 3 months ago
JSON representation
Mithril.js boilerplate with Vite
- Host: GitHub
- URL: https://github.com/alexferl/mithril-boilerplate
- Owner: alexferl
- License: mit
- Created: 2022-11-15T15:22:38.000Z (about 2 years ago)
- Default Branch: master
- Last Pushed: 2024-01-19T22:46:01.000Z (about 1 year ago)
- Last Synced: 2024-10-14T02:27:10.341Z (4 months ago)
- Topics: mithril, mithril-boilerplate, mithril-starter, mithril-template, mithriljs, rome, vite, vitejs
- Language: JavaScript
- Homepage:
- Size: 79.1 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mithril-boilerplate
[Mithril.js](https://mithril.js.org/) boilerplate with [Vite](https://vitejs.dev/) and [Biome](https://biomejs.dev/).
# Using
## Setup
```shell
npm install
```## Running in dev
```shell
npm run dev
```## Lint
```shell
npm run lint
```## Format
```shell
npm run format
```## Building for prod
```shell
npm run build
```## Running in prod preview
```shell
npm run preview
```# Docker
## Build
```shell
docker build -t mithril-boilerplate .
```## Run
```shell
docker run --name mithril-boilerplate -p 8080:8080 --rm mithril-boilerplate
```