Use nuxt to build a Vue project

Use nuxt to build a Vue project

1. Installation

  1. Installation command:npx create-npx-app <项目名>

  2. Error during installation:Insert image description here

  3. Use the following command to check whether the proxy is set: if null is returned, it means that the proxy is not set

npm config get proxy
npm config get https-proxy

Insert image description here
Insert image description here

  1. Set proxy:npm config set registry https://registry.npmjs.org/
  2. Use npx to install nuxt again:npx create-npx-app <项目名>

Guess you like

Origin blog.csdn.net/m0_50298323/article/details/130204434