0

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 ?

1
  • 1
    Small note, you are running Vue CLI 3.51. not vue. Now, did you run commands with sudo? Commented Mar 19, 2019 at 21:20

1 Answer 1

1

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

Enter the following command into your terminal:

export NODE_ENV=development
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.