2024-04-01 02:31:28 +00:00
|
|
|
# Forum Frontend
|
|
|
|
|
2024-04-09 21:47:09 +00:00
|
|
|
## Development
|
|
|
|
To start the frontend in development mode and serve on http://localhost:3000:
|
|
|
|
```shell
|
|
|
|
npm run start
|
|
|
|
```
|
|
|
|
|
|
|
|
## Production
|
|
|
|
```shell
|
|
|
|
# Install serve
|
|
|
|
npm install -g serve
|
|
|
|
|
|
|
|
# Build for production
|
|
|
|
npm run build
|
|
|
|
|
|
|
|
# Serve
|
|
|
|
serve -s --no-clipboard build
|
|
|
|
```
|