Question · Vue.js course · Module 10: Vue Router

Query Parameters

How do you access query parameters (e.g., ?module=habitat)?

Answer options

  • route.search.module
  • route.query.module
  • route.params.query
  • route.get('module')

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