Click in order · Vue.js course · Module 11: Pinia

Plugin Pattern

Arrange the elements of a Pinia plugin pattern

Items to click

  • function loggerPlugin({ store }) {
  • store.$subscribe((mutation) => {
  • }) }
  • console.log(mutation.storeId)

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