Use nuxt to build a Vue project
1. Installation
-
Installation command:
npx create-npx-app <项目名>
-
Error during installation:
-
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
- Set proxy:
npm config set registry https://registry.npmjs.org/
- Use npx to install nuxt again:
npx create-npx-app <项目名>