Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial

Pinia: The Enjoyable Vue Store

Define Your First Pinia Store

In this lesson, we define the first Pinia store for our Vue.js 3 application. By default, Pinia is modular so we’re able to break up our stores right away into topic specific files, starting with ProductStore.js where we define the application’s products in the state.

Links