How to use it?
Install dependencies
The design system library has some peer depencendies, but they should be installed by the "main" package of the monorepo, and accessible to this package thanks to yarn
hoisting.
run from ./frontend
:
Import component
The design sytem is divided in two bundle :
main
, containing all legacy modulesnext
, produced by the new organisation
Importing a next component
You can import from the bundle @ulule/owl-kit-components/dist/next.esm
Importing a legacy component
You can directly import it from the module @ulule/owl-kit-components
. This allows to keep compatibility with modules create before the migration to the new organisation. You should always prefere importing from next
when you can. Components from legacy
are a last resort.