How to run?
lyj0823 opened this issue · comments
Hi, thanks for your work! But I am not familiar with how to run this project, can you help me?
hello, this is just a Vue code snippet for my article, which can't run standalone without a Vue project
Thanks for your reply, but can you give me some suggestions on how to add these Vue codes in a Vue project? Thanks a lot!
1、npm install vue-simple-uploader
,and follow the documentation to initialize the plugin: https://github.com/simple-uploader/vue-uploader
2、put globalUploader.vue
in components
folder
3、register the <global-uploader>
in app.vue
4、put demo.vue
in your page folder, and you can see the effect in this page
哈哈,慢慢来~