How to use plugin directly with script?
shaswa opened this issue · 1 comments
shaswa commented
Can this plugin be used by using the script
tag directly in page?
Example:
<script src="/modules/vue/dist/vue.min.js"></script>
<script src="/modules/vue-json-csv/dist/vue-json-csv.umd.min.js"></script>
<script type="text/javascript"> Vue.use(downloadCsv)</script>
Belphemur commented
Hello,
You'll need to use a service like unpkg to do it.
Example :
https://www.telerik.com/blogs/hello-vue-a-quick-tutorial-on-getting-started-with-vue
But the best way would be for you to follow the vuejs documentation on how to install and use vuejs.
Sent from Nine
…________________________________
From: Shanthi Swaroop Katika <notifications@github.com>
Sent: Monday, February 17, 2020 11:49
To: Belphemur/vue-json-csv
Cc: Subscribed
Subject: [Belphemur/vue-json-csv] How to use plugin directly with script? (#39)
Can this plugin be used by using the script tag directly in page?
Example:
<script src="/modules/vue/dist/vue.min.js"></script>
<script src="/modules/vue-json-csv/dist/vue-json-csv.umd.min.js"></script>
<script type="text/javascript"> Vue.use(downloadCsv)</script>
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.