Hello, everyone! My name is Yao Long, a little white who has just entered the front end. Recently, I have been learning NuxT3 from the village chief. The village chief also organized many friends to translate nuxT3 together. If you are interested, please check out our Nuxt3 Chinese documentation.
Let’s take a look at NuxT3
Environment to prepare
- The official advice for Node versions is to install the latest version
- Yarn, NPX (included by default in NPM V5.2 +) or NPM (V6.1 +)
Pull nuxT3 scaffolding
Run the following command to pull using YARN
npx nuxi init nuxt3-app
Copy the code
Download dependencies in the
yarn install
Copy the code
Start the project
yarn dev
Copy the code
Visit http://localhost:3000 again to see the basic interface
trailer
The project is up and running, so how do you create a page and access it? We know that in vUE, to access a page, vue-router is used to control the access of the page. Vue-router is already integrated with NUxT by default. We’ll show you how to use it in NuxT3 in the next article.