30 lines
402 B
Markdown
30 lines
402 B
Markdown
|
|
# Skyvern Frontend
|
||
|
|
|
||
|
|
## Development
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npm run dev
|
||
|
|
```
|
||
|
|
|
||
|
|
This will start the development server with hot module replacement.
|
||
|
|
|
||
|
|
## Build for production
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npm run build
|
||
|
|
```
|
||
|
|
|
||
|
|
This will make a production build in the `dist` directory, ready to be served.
|
||
|
|
|
||
|
|
## Preview the production build locally
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npm run preview
|
||
|
|
```
|
||
|
|
|
||
|
|
or alternatively, use the `serve` package:
|
||
|
|
|
||
|
|
```sh
|
||
|
|
npx serve@latest dist
|
||
|
|
```
|