Nuxt Define Store Once

Use when writing defineStore(): call it once at module level, never inside a setup()/composable/function body — otherwise every call recreates the store instead of reusing the shared singleton.

techmefr Updated

File contents

techmefr/mentis commit e29c910d87

Frequently asked questions

npx get-skill add techmefr/nuxt-define-store-once