homebox/frontend/README.md

43 lines
596 B
Markdown
Raw Normal View History

2022-09-01 22:32:03 +00:00
# Nuxt 3 Minimal Starter
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
Look at the [nuxt 3 documentation](https://v3.nuxtjs.org) to learn more.
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
## Setup
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
Make sure to install the dependencies:
2022-08-30 18:05:21 +00:00
```bash
2022-09-01 22:32:03 +00:00
# yarn
yarn install
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
# npm
npm install
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
# pnpm
pnpm install --shamefully-hoist
```
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
## Development Server
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
Start the development server on http://localhost:3000
2022-08-30 18:05:21 +00:00
```bash
2022-09-01 22:32:03 +00:00
npm run dev
2022-08-30 18:05:21 +00:00
```
2022-09-01 22:32:03 +00:00
## Production
2022-08-30 18:05:21 +00:00
2022-09-01 22:32:03 +00:00
Build the application for production:
2022-08-30 18:05:21 +00:00
```bash
2022-09-01 22:32:03 +00:00
npm run build
2022-08-30 18:05:21 +00:00
```
2022-09-01 22:32:03 +00:00
Locally preview production build:
2022-08-30 18:05:21 +00:00
```bash
2022-09-01 22:32:03 +00:00
npm run preview
2022-08-30 18:05:21 +00:00
```
2022-09-01 22:32:03 +00:00
Checkout the [deployment documentation](https://v3.nuxtjs.org/guide/deploy/presets) for more information.