cda7ccf4d9
swagger-ui-react pull in all the swagger ui dependencies which is a bit anyoing as they are mostly optional and with pnpm requires you to build native dependencies. |
||
---|---|---|
.. | ||
e2e | ||
samples | ||
src | ||
test | ||
.env | ||
.eslintignore | ||
.eslintrc.cjs | ||
.gitignore | ||
README.md | ||
index.html | ||
package.json | ||
tsconfig.config.json | ||
tsconfig.json | ||
vite.config.ts | ||
vitest.config.ts |
README.md
TypeSpec Playground Website
A self contained website for the TypeSpec Playground.
Use
npm start
to start in dev modenpm run preview
to build and preview prod modenpm run build
to build for production
Configuration
To change the default configuration add a .env.local
file in the root of this package.
The following environment variables are available:
# Bundle and use local version of TypeSpec libraries
VITE_USE_LOCAL_LIBRARIES=true