2022-12-04 09:02:30 +03:00
|
|
|
# tornado-new
|
|
|
|
|
|
|
|
## Build Setup
|
|
|
|
|
2024-05-08 21:57:13 +03:00
|
|
|
If you use the latest Node.js version, you should modify your NODE_OPTIONS env
|
|
|
|
|
|
|
|
```bash
|
|
|
|
export NODE_OPTIONS="--openssl-legacy-provider"
|
|
|
|
```
|
|
|
|
|
2022-12-04 09:02:30 +03:00
|
|
|
```bash
|
|
|
|
# install dependencies
|
|
|
|
$ yarn install
|
|
|
|
|
|
|
|
# serve with hot reload at localhost:3000
|
|
|
|
$ yarn dev
|
|
|
|
|
|
|
|
# build for production and launch server
|
|
|
|
$ yarn build
|
|
|
|
$ yarn start
|
|
|
|
|
|
|
|
# generate static project
|
|
|
|
$ yarn generate
|
|
|
|
```
|
|
|
|
|
|
|
|
For detailed explanation on how things work, check out [Nuxt.js docs](https://nuxtjs.org).
|