Skip to content

Commit

Permalink
Share pinia with extensions (#10335)
Browse files Browse the repository at this point in the history
Pinia is stable and also the recommended state management lib for Vue 3 🔥
  • Loading branch information
nickrum committed Dec 6, 2021
1 parent 19cbe89 commit ad4a13f
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 64 deletions.
126 changes: 63 additions & 63 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion packages/shared/src/constants/extensions.ts
@@ -1,4 +1,4 @@
export const APP_SHARED_DEPS = ['@directus/extensions-sdk', 'vue', 'vue-router', 'vue-i18n'];
export const APP_SHARED_DEPS = ['@directus/extensions-sdk', 'vue', 'vue-router', 'vue-i18n', 'pinia'];
export const API_SHARED_DEPS = ['@directus/extensions-sdk', 'axios'];

export const APP_EXTENSION_TYPES = ['interface', 'display', 'layout', 'module', 'panel'] as const;
Expand Down

0 comments on commit ad4a13f

Please sign in to comment.