2024-06-20 06:33:21 +00:00
|
|
|
# mjfs-us
|
|
|
|
|
2024-06-22 03:18:40 +00:00
|
|
|
When creating this newest site, I decided to stick with TypeScript but instead go with Vue for fun.
|
|
|
|
Its powered by [VitePress](https://vitepress.dev/), a static site generator that uses Vite under the
|
|
|
|
hood to generate static HTML/JS/CSS assets from Markdown templates and Vue components. It's then
|
|
|
|
uploaded to S3 and distributed around the US by Cloudfront.
|
|
|
|
|
|
|
|
So far I've really enjoyed writing the bulk of the content in Markdown, while being able to add in
|
|
|
|
Vue single file components where desired. Vue feels very lightweight to write and use, even in this
|
|
|
|
hybrid environment. I've also been using this project a test-ground for [Bun](https://bun.sh/) as a
|
|
|
|
package manager and dev environment. So far so good!
|
|
|
|
|
|
|
|
# Development
|
|
|
|
|
2024-06-20 06:33:21 +00:00
|
|
|
To install dependencies:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
bun install
|
|
|
|
```
|
|
|
|
|
|
|
|
To run:
|
|
|
|
|
|
|
|
```bash
|
2024-06-20 18:02:31 +00:00
|
|
|
bun run dev
|
2024-06-20 06:33:21 +00:00
|
|
|
```
|
|
|
|
|
2024-06-22 03:18:40 +00:00
|
|
|
To build:
|
|
|
|
|
|
|
|
```bash
|
|
|
|
bun run build
|
|
|
|
```
|