Skip to content

Provide a vue-cli-plugin to write vue plugin out of box #2630

Closed
@zhangbobell

Description

@zhangbobell

What problem does this feature solve?

Vue-cli 3.x is really a big progress for start a vue program instantly, but today when I want to write a vue plugin, things seems still tough. Since vue plugin is not the same with vue program, I need to config webpack, postcss, etc. The documents in vuejs.org says that how to write a plugin, but there was no docs about how to config when I am writing plugin.

I've find a vue-cli 2.0 template for this purpose: https://github.com/posva/vue-plugin-template . In Vue-cli 3.x, It seems we can provide a vue-cli-plugin to solve this problem. Could anyone give me some advice? Thank you very much!

What does the proposed API look like?

Provide a vue-cli-plugin, we could select it in the prompt when we use vue create awesome-plugin.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions