The Flow dashboard is built on the Flow design framework (website / github)
npm i --save @ollion/flow-dashboard
Note: after installation, re-start your application.
Paste the below snippet in your project and add your application startup/runtime code to it.
import "@ollion/flow-core";
import "@ollion/flow-dashboard";
Note: After adding, re-start your application. Make sure you are using version >4.5
For Vue 3:
Copy paste below import types in your main.ts
file.
import "@ollion/flow-dashboard/dist/types/vue3";
For Vue 2
Copy paste below import types in your main.ts
file.
import "@ollion/flow-dashboard/dist/types/vue2";
For React
React: Include react type in tsconfig.json
file like below.
"include": ["src", "./node_modules/@ollion/flow-dashboard/dist/types/react.ts"]