Skip to content

Support creating project in current directory #896

@cecilphillip

Description

@cecilphillip

What problem does this feature solve?

Makes a step towards more easily using the 3.x CLI with other non-javascript backend projects such as asp.net or flask.

Currently, invoking vue create . in an empty directory throws the following error

🚀 Invoking generators... ERROR Error: Cannot find module '@vue/cli-service/generator' from '/Users/cecilphillip/Desktop/toss' Error: Cannot find module '@vue/cli-service/generator' from '/Users/cecilphillip/Desktop/toss' at Function.module.exports [as sync] (/usr/local/lib/node_modules/@vue/cli/node_modules/resolve/lib/sync.js:40:15) at Object.keys.map.id (/usr/local/lib/node_modules/@vue/cli/lib/Creator.js:246:30) at Array.map (<anonymous>) at Creator.resolvePlugins (/usr/local/lib/node_modules/@vue/cli/lib/Creator.js:245:36) at Creator.create (/usr/local/lib/node_modules/@vue/cli/lib/Creator.js:134:26) at <anonymous> at process._tickCallback (internal/process/next_tick.js:160:7) 

What does the proposed API look like?

vue create . || vue create --here

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions