A
A
antimodern2019-01-28 17:48:16
Vue.js
antimodern, 2019-01-28 17:48:16

Sample Vue plugins/directives?

I want to make a couple of public plugins for Vue, both in the form of directives and as components.
Recommend quality, uncomplicated, well-written plugins to learn? I have no experience in writing npm modules. And oddly enough, I myself do not use View plugins (only 2 plugins in 5 projects)
Also, maybe someone met a good tutorial on how to write your own plugin?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
A
Alexander, 2019-01-28
@Dafaqtx

https://vuejsexamples.com/
https://github.com/vuejs/awesome-vue

F
furrya_black, 2019-02-02
@furrya_black

bili.js + poi.js for component demos, under the hood rollup
https://github.com/egoist/bili
https://github.com/egoist/poi
You also want to publish this case in npm so that yarn add myPkg )))
for an example, what to look at (here specifically about dev and publishing git releases and npm packages)
https://github.com/furryablack/services-pod
https://github.com/furryablack/draftable-entity
# travis #git_tags# #npm_packages #versioning #auto_deploy

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question