Jacobs63 / vue3-tabs-component

Vue 3 tabs component
MIT License
96 stars 27 forks source link

CDN or Unpkg #17

Closed amchconsult closed 2 years ago

amchconsult commented 2 years ago

Hi, can you compile or add Unpkg or JSDelivr. I am trying to use as global UMD on HTML and it is not working.

thank you

ZsharE commented 2 years ago

Same here.

@amchconsult you just need to download the repo and then:

npm install
npm run build

If you have any errors, just edit this line:

"build": "rm -rf dist && NODE_ENV=production webpack"

with this:

"build": "webpack"

And then:

npm run build

Then the dist folder will be created and the file index.js will run as a UMD. Rename it and done.

Jacobs63 commented 2 years ago

UMD has been added in versions 1.0.9 which should fix this issue.