1.0.0 • Published 5 months ago

jb-design-system v1.0.0

Weekly downloads
-
License
ISC
Repository
github
Last release
5 months ago

design-system

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

architecture

micro-front-end with storybook testbed

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