Skip to content

vedmant/nuxt3-vuex

Repository files navigation

nuxt3-vuex-module

Vuex stores feature for Nuxt3

npm version

This should read all your store folder the same way as Nuxt 2 does.

It reads store folder, supports nested modules and SSR.
It however doesn't support separated files state.js, actions.js, mutations.js, etc.

Install

yarn add nuxt3-vuex-module

Add to your Nuxt 3 config file as following:

export default defineNuxtConfig({
  modules: [
    'nuxt3-vuex-module',
  ],
})