BrockReece / vue-kanban

A vue based drag and drop kanban board
MIT License
802 stars 161 forks source link

Hi there how can I compile this so that I can use on the <script> tag? #70

Closed Mashiane closed 3 years ago

Mashiane commented 3 years ago

Hi there, as per subject matter, thanks

BrockReece commented 3 years ago

I guess you could clone this repo and use a tool like Rollup to bundle up a browser-friendly version and add the output of this to your own project.

Or are you requesting that we include a browser-friendly version in our NPM package so you can fetch it through a CDN, like unpkg?

Mashiane commented 3 years ago

That would be perfect thanks. Awesome.

Sorry dunno anything about Rollup, will check it our, thanks for the heads up.

BrockReece commented 3 years ago

Ok, so I have published a pre release version which bundles this plugin in umd format. You can access this through the unpkg CDN https://unpkg.com/vue-kanban@1.9.0-1/dist/index.js

I have knocked up a quick CodePen example of how I assume you will need to use it.

https://codepen.io/BrockReece/pen/dyWGoLQ

Mashiane commented 3 years ago

Thank you so much