Skip to content

Latest commit

 

History

History
55 lines (36 loc) · 1 KB

README.md

File metadata and controls

55 lines (36 loc) · 1 KB

design-system

design-system for jb-web-components and corresponding react components

architecture

micro-front-end with storybook test bed

usage

clone the project with submodules (all components are put in project with submodules)


git clone --recurse-submodules -j8 https://github.com/javadbat/design-system.git

in case you have already cloned the project, use command: git submodule update --init --recursive

install packages

npm i

build packages in project root directory

# build all modules
npm run build

# build only a named module
npm run build jb-input

serve testbeds

npm run serve

# or

npm start

if you are using node17 or later please type it before build

$env:NODE_OPTIONS = "--openssl-legacy-provider"

add a new submodule

git submodule add -f https://github.com/user/repo.git web-component/web-component-name 
git submodule add -f https://github.com/user/repo.git react-component/react-component-name