Last updated 5 years ago
Was this helpful?
資料來源:
請先安裝好 node.js
傳送門:
npm install -g @vue/cli
vue --version
注意以上三個一定都要成功,你之後就會很順了
vue create hello
你可以選擇你想要的 Babel / Eslint or 一些選配
Babel / Eslint
再來選擇 yarn or npm
yarn
npm
按完後,理論上會出現這個畫面
照上面寫的 cd hello npm run serve
cd hello
npm run serve
會出現如下畫面
點開後,就會變成
恭喜完成最初 Vue CLI 安裝