Dependencies:
- Node: >=18.17.0
- NPM: >=9.8.1
- Yarn: 3.6.3
- Yalc
You must have yarn
and yalc
installed for running. Yalc must be installed globally, information regarding this can be found in this link.
-
yarn dev
to create a build and push to yalc store. - Navigate to application where you want to use this package. Open terminal on that folder. Install yalc as devDependency.
- Use this command to add package
yalc add vuchat
. - Add the code related to package in the application and start the application.
- To update the package for changes, first run
yarn dev
in package folder to push latest changes to local store. - Then in application, where it's used, run
yalc update vuchat
and restart the application.