Question · Vue.js course · Module 15: TypeScript & Nuxt

File-based Routing in Nuxt

How does Nuxt 3 create application routing?

Answer options

  • Automatically based on the file structure in the pages/ folder
  • By manually configuring a router.config.ts file
  • By importing routes from a separate npm package
  • By defining routes in nuxt.config.ts

You can check the correct answer by solving this task in the CodeWorlds game.