kysnm / nuxt3-vuex

Vuex store feature for Nuxt3

Home Page:https://nuxtjs.org/docs/directory-structure/store/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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',
  ],
})

About

Vuex store feature for Nuxt3

https://nuxtjs.org/docs/directory-structure/store/

License:MIT License


Languages

Language:JavaScript 100.0%