mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 21:54:53 +03:00
Update README.md
Added one simple command: npm run build:module. On clean branch, if you don't execute this command you have not "compiled" and application raise exception.
This commit is contained in:
parent
d083c1631d
commit
3868b5dd20
|
@ -182,6 +182,8 @@ Redoc.init('http://petstore.swagger.io/v2/swagger.json', {
|
||||||
- Install dependencies
|
- Install dependencies
|
||||||
`npm install`
|
`npm install`
|
||||||
- _(optional)_ Replace `demo/swagger.yaml` with your own schema
|
- _(optional)_ Replace `demo/swagger.yaml` with your own schema
|
||||||
|
- Build
|
||||||
|
`npm run build:module`
|
||||||
- Start the server
|
- Start the server
|
||||||
`npm start`
|
`npm start`
|
||||||
- Open `http://localhost:9000`
|
- Open `http://localhost:9000`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user