sunwarr10r
sunwarr10r

Reputation: 4797

vue-cli doesn't create folder structure

I am running vue 3.5.1 on Ubuntu.

After installing the newest version via: npm install -g @vue/cli

and then creating a project with: vue create appname,

vue creates only two files inside the project folder: package.json & package-lock.json

There is no src and config with all their components etc. And of course no project can be started without the structure.

How can I create a full vue project folder struce with vue-cli ?

Upvotes: 0

Views: 864

Answers (1)

sunwarr10r
sunwarr10r

Reputation: 4797

The solution in my case was to give NODE_ENV the right value.

Enter the following command into your terminal:

export NODE_ENV=development

Upvotes: 1

Related Questions