Question · Vue.js course · Module 10: Vue Router
The createRouter Function
What does the createRouter() function return?
Answer options
- A router instance ready to use with app.use()
- An array of routes
- A Vue component
- A history object
You can check the correct answer by solving this task in the CodeWorlds game.