How to add vue-cli to the existing project?

serge1peshcoff picture serge1peshcoff · Apr 11, 2019 · Viewed 9.9k times · Source

I have a project on Vue.js using Webpack. And I want to add vue-cli features to it so I can work with it like I do with vue-cli generate project. But I don't know how to integrate vue-cli with existing project.

With new project I can do vue create <project-name but I couldn't find the instruction on integrating it with existing projects. Is there an official way to do so? (I suppose I can just create the new project and move all of the sources there, but still probably there's a better way to do it)

Answer

Sikiru Abidemi Tiamiyu picture Sikiru Abidemi Tiamiyu · Jun 1, 2020

Inside the Project Folder in the terminal enter vue create .