Skip to content

Add support to use sharable presets for vue create #884

Closed
@Justineo

Description

@Justineo

What problem does this feature solve?

For reusable project boilerplates, it's useful to have a sharable preset like those under vuejs-templates for 2.x. Users have to manually install custom plugins and choose setup options ATM.

What does the proposed API look like?

Presets may provide default settings for built-in plugins and automatically install custom plugins.

So users can use something like

vue create app --preset username/my-vue-preset

to create projects based on a sharable boilerplate out-of-the-box.

For a certain preset repo, we may simply specify the used/omitted plugins and provide default options for them, and pre-configured vue.config.js.

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestintend to implementThe team has the intention to implement this feature at some point. Contribution is also welcome.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions