File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- # Nuxt Minimal Starter
1+ # litestar.dev
22
3- Look at the [ Nuxt documentation ] ( https://nuxt.com/docs/getting-started/introduction ) to learn more .
3+ Welcome to the Litestar website repository available on [ litestar.dev ] ( https://litestar.dev ) .
44
55## Setup
66
7- Make sure to install dependencies:
7+ Make sure to enable corepack and install the dependencies:
88
99``` bash
10- # npm
11- npm install
12-
13- # pnpm
10+ corepack enable
1411pnpm install
15-
16- # yarn
17- yarn install
18-
19- # bun
20- bun install
2112```
2213
23- ## Development Server
14+ ## Development
2415
2516Start the development server on ` http://localhost:3000 ` :
2617
2718``` bash
28- # npm
29- npm run dev
30-
31- # pnpm
3219pnpm dev
20+ ```
3321
34- # yarn
35- yarn dev
22+ ## Add a Litestar Plugin
3623
37- # bun
38- bun run dev
39- ```
24+ To add a new Litestar plugin, create a pull request on the [ litestar-org/plugins] ( https://github.com/litestar-org/plugins ) repository.
4025
4126## Production
4227
43- Build the application for production :
28+ As the website is hosted on GitHub Pages, you will need to generate it as a static site :
4429
4530``` bash
46- # npm
47- npm run build
48-
49- # pnpm
50- pnpm build
31+ pnpm generate
32+ ```
5133
52- # yarn
53- yarn build
34+ ## Deployment
5435
55- # bun
56- bun run build
57- ```
36+ The site is automatically deployed to GitHub Pages via GitHub Actions when changes are pushed to the ` main ` branch.
5837
59- Locally preview production build:
6038
6139``` bash
62- # npm
63- npm run preview
40+ pnpm generate
41+ ```
6442
65- # pnpm
66- pnpm preview
43+ ## Testing
6744
68- # yarn
69- yarn preview
45+ TODO
7046
71- # bun
72- bun run preview
73- ```
47+ ## License
7448
75- Check out the [ deployment documentation ] ( https://nuxt.com/docs/getting-started/deployment ) for more information.
49+ [ MIT License ] ( ./LICENSE )
You can’t perform that action at this time.
0 commit comments