Pinia
The Vue Store that you will enjoy using
💡 Intuitive
Stores are as familiar as components. API designed to let you write well organized stores.
🔑 Type Safe
Types are inferred, which means stores provide you with autocompletion even in JavaScript!
⚙️ Devtools support
Pinia hooks into Vue devtools to give you an enhanced development experience in both Vue 2 and Vue 3.
🔌 Extensible
React to store changes to extend Pinia with transactions, local storage synchronization, etc.
🏗 Modular by design
Build multiple stores and let your bundler code split them automatically.
📦 Extremely light
Pinia weighs around 1kb, you will forget it's even there!
非官方站点,仅个人兴趣翻译,翻译仓库地址在这里