@vyro-x/components-kit
v1.1.1
Published
Intergrates components accross all frontends in vyro ecosystem.
Downloads
8
Keywords
Readme
Vyro
This repository intergrates components accross all frontends in vyro ecosystem.
Getting started
Step #1 - Install dependencies
- Install Node & NPM using NVM
Step #2 Install
From the root directory
npm i
Step #3 How to develop
- run npm install in parent component to install dependencies.
cd vyro/frontends/showcase
npm run i
- Link react from showcase application to components-kit to avoid having two React instances.
cd vyro/frontends/showcase/node_modules/react npm link
cd vyro/frontends/showcase/node_modules/react-dom npm link
cd path/to/components-kit/ npm link react react-dom
- Run watcher
npm run watch
- make a sym link from dist folder to your parent component
cd vyro/frontends/showcase/node_modules/@vyro-x/components-kit
rm -rf dist
ln -s path/to/components-kit/dist dist
cp path/to/components-kit/package.json package.json
- Run parent component
cd @vyro/frontends/showcase
npm run dev