@airdao/ui-library
v2.3.0
Published
## Install library to dapp: ### Install package ```bash yarn add @airdao/ui-library ``` ```bash npm install @airdao/ui-library ```
Downloads
506
Readme
@airdao/ui-library
Install library to dapp:
Install package
yarn add @airdao/ui-librarynpm install @airdao/ui-libraryInstall peer dependencies
yarn add [email protected] [email protected] @tanstack/[email protected]npm install [email protected] [email protected] @tanstack/[email protected]Development
Note: Use
npmto install library dependencies or make sure to install peer dependencies
Installation and testing
# Install Yalc globally if not installed
yarn add global yalc
# Build library before linking
yarn build
# Publish library to Yalc
yalc publish
# Add library to dapp
yalc add @airdao/ui-libraryBefore release
For library
- Build before pushing to make sure it works
- Bump version in
package.json
For dapp
- Remove .yalc library from dapp (or add it to .gitignore)
- Reinstall library from npm
