Skip to content

Commit

Permalink
Share pinia with extensions
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 223c70f commit fa818ab
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 fa818ab

Please sign in to comment.