鍍金池/ 問(wèn)答/HTML/ 使用nuxt初始化項(xiàng)目時(shí)報(bào)錯(cuò)

使用nuxt初始化項(xiàng)目時(shí)報(bào)錯(cuò)

使用官方文檔上的命令“vue init nuxt-community test”初始化一個(gè)nuxt項(xiàng)目時(shí)報(bào)錯(cuò)“vue-cli · Failed to download repo vuejs-templates/nuxt-community: Response code 404 (Not Found)”,前幾天還是好用的。我電腦上的node版本為:v6.11.3, vue版本為:v2.9.2

回答
編輯回答
汐顏

官網(wǎng)上是這個(gè):vue init nuxt-community/starter-template <project-name>

2017年8月15日 07:49
編輯回答
孤慣

把尖括號(hào)去掉 project-name

2018年3月10日 12:49