19 lines
526 B
Markdown
19 lines
526 B
Markdown
# TypeScript project using the maxGraph npm package
|
|
|
|
Initialized from https://github.com/vitejs/vite/tree/v2.9.8/packages/create-vite/template-vanilla-ts
|
|
|
|
## Setup
|
|
|
|
Initialize all packages
|
|
> From the repository root, run `npm install`.
|
|
|
|
Build maxgraph@core
|
|
> From the `packages/core` directory, run `npm run generate-esm`.
|
|
|
|
## Run
|
|
|
|
Run `npm run dev` and go to http://localhost:5173/
|
|
|
|
If you want to bundle the application, run `npm run build` and then run `npm run preview` to access to a preview of the
|
|
bundle application.
|