Add an extensionless environment file .env
with the following configuration:
NODE_ENV=development
Make sure you have the latest version of all packages
cd ../packages
npm install
npm run build
npm link --workspaces
cd ../data-experience
npm install
Make sure to use the exact version of node we want. If you don't the build system will tell you which one to use.
The example is in folder dev/
npm run dev
npm run build
npm run lint
npm init
npm install @vue/cli
npx vue create experience-component
And then modified according to https://itnext.io/create-a-vue-js-component-library-as-a-module-part-1-a1116e632751
First increment version in package.json
and run
npm run build
npm publish
The latest version of the library can be imported using these CDN links:
- https://unpkg.com/@hestia.ai/data-experience/dist/DataExperience.umd.min.js
- https://unpkg.com/@hestia.ai/data-experience/dist/DataExperience.css
See the deployment examples. The simplest one is in html-plain. Run it in your browser through raw.githack.com