Question · Vue.js course · Module 11: Pinia

Defining a Store

Which function is used to define a Pinia store?

Answer options

  • createStore()
  • defineStore()
  • useStore()
  • newStore()

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