A component library for LooprAI products. Based out of Material UI.
If you are developing a production application, we recommend updating the configuration to enable type aware lint rules:
- Configure the top-level
parserOptions
property like this:
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
project: ['./tsconfig.json', './tsconfig.node.json'],
tsconfigRootDir: __dirname,
},
- Replace
plugin:@typescript-eslint/recommended
toplugin:@typescript-eslint/recommended-type-checked
orplugin:@typescript-eslint/strict-type-checked
- Optionally add
plugin:@typescript-eslint/stylistic-type-checked
- Install eslint-plugin-react and add
plugin:react/recommended
&plugin:react/jsx-runtime
to theextends
list
Ref: Creating a Component Library Fast🚀(using Vite's library mode)
- Build the library:
npm run build-lib
This needs to be built and published to a package manager (npm, yarn, etc) eventually. For now, it can be used as a local dependency. by following these steps:
- Build the library:
npm run build-lib
- follow the steps in Use npm pack to test your packages locally
More Info: TBD