store

Generates src/store/index.ts with Vuex store configuration and namespaced modules for state management.

📖 中文导读:Generates src/store/index.ts with Vuex store configuration and namespaced modules for state management. 以下正文为该技能的原始 SKILL.md 内容(英文),上方安装命令可直接使用。

name: store description: Generates src/store/index.ts with Vuex store configuration and namespaced modules for state management.

Store Skill

Purpose

Generate the src/store/index.ts file with Vuex store configuration.

Output

Create the file: src/store/index.ts

Notes

  • Create a Vuex store with a module called global
  • All modules use namespaced: true for cleaner state management