Webpack Typescript Starter from https://github.com/hungtcs-lab/webpack-typescript-starter
-
Clone the project locally
git clone https://github.com/typed-mxgraph/typed-mxgraph-demo.git
-
Switch to the project directory
cd typed-mxgraph-demo
-
Ensure you use Node 10
The project doesn't build with Node 12 and 14 at least on Linux.
npm install npm start
If you are using
nvm
, runnvm install 10 nvm use 10
-
Install npm dependencies, then start the project
npm install npm start
-
Use a browser to access, the default port is
3100
: http://localhost:3100