简体   繁体   中英

how can i create project with CLI in linux?

我已经在 vue js 中有一个 runnig 项目并安装了 node js,现在我想用 CLI 创建新项目,那么是否需要安装新的 node js 版本??

so is it required to install a new node js version

No. For what? Just type

node script.js

or

nodejs script.js

in terminal.

i have found a solution of my question may it help someone other.. follow the step and your project will execute successfully.. 1)create your project folder any where 2)go to that folder using cd command 3)enter this command : sudo npm install --global vue-cli 4)enter this command : sudo vue init webpack ex_cli 5)cd project folder name 6)npm install 7)npm run dev

i had create successfully my project as this way..

Now it successfully run your project like.. enter image description here

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM