-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Plugin Support for new cli #839
Comments
The simplest plugin just need a |
The main reason i ask is that i wouldve like typescript for it as well as all the other boilerplate you get with the current cli. (i.e unit test, e2e test etc) |
You mean a Vue plugin or a CLI plugin? If it's a Vue plugin you can simply use |
Yeah i mean a vue plugin. I dont understand what you mean though |
would this be set as main in the package.json file 'dist{{my-project-name}}.umd.min.js ' |
This should be in the doc, somewhere, because I wasn't sure it could be done. |
I found some docs on it @ https://github.com/vuejs/vue-cli/blob/dev/docs/build-targets.md In general, I think building a lib should be more documented. I've been spending too much time now looking the "best" way to start building my own lib. Many of the boilerplate templates and examples out there are massive! After a lot of trial and error, it was |
What problem does this feature solve?
Allows user to scaffold a new plugin using the new cli.
What does the proposed API look like?
The text was updated successfully, but these errors were encountered: