Closed iberdinsky-skilld closed 1 year ago
In this PR component has own package.json file
For building used common vite.components-config.js
vite.components-config.js
All css/js assets now builded with new script yarn bc. They are not gitignored anymore. And keep everything inside.
yarn bc
vite.config.js works as before only for building theme own assets/fonts/images
vite.config.js
This PR will allow to share components between projects much easier.
Update
Added separation in dependant library. So now yarn bc command moves imported libraries into component /libraries dir.
/libraries
Update 2
Added lerna monorepo manager. And extra test PR https://github.com/skilld-labs/ui-patterns-kaizen/pull/7/files removed lerna_
Update 3
Added menu component, with preview for both Drupal and Storybook
In this PR component has own package.json file
For building used common
vite.components-config.js
All css/js assets now builded with new script
yarn bc
. They are not gitignored anymore. And keep everything inside.vite.config.js
works as before only for building theme own assets/fonts/imagesThis PR will allow to share components between projects much easier.
Update
Added separation in dependant library. So now
yarn bc
command moves imported libraries into component/libraries
dir.Update 2
Added lerna monorepo manager. And extra test PR https://github.com/skilld-labs/ui-patterns-kaizen/pull/7/files removed lerna_
Update 3
Update 3
Added menu component, with preview for both Drupal and Storybook