Question · Vue.js course · Module 11: Pinia

Custom Plugin

What arguments does a Pinia plugin function receive?

Answer options

  • A context object with store, app, pinia, and options
  • Only the store instance
  • No arguments
  • The state object and an action list

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