Skip to content

Commit c66eec0

Browse files
committed
fix: Better exports.
1 parent d40d2c2 commit c66eec0

2 files changed

Lines changed: 4 additions & 8 deletions

File tree

packages/core/src/index.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import AlertHandler from "./components/AlertHandler.vue";
1+
export { default as AlertHandler } from "./components/AlertHandler.vue";
22
import Vuert from "./vuert.js";
33

44
export { createVuert, useVuert } from "./functions.js";
@@ -18,8 +18,6 @@ export type { PluginOptions } from "./functions.js";
1818

1919
export default Vuert;
2020

21-
export { AlertHandler };
22-
2321
declare module "@vue/runtime-core"
2422
{
2523
interface ComponentCustomProperties

packages/core/src/models/index.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
import Action from "./action.js";
2-
import Alert from "./alert.js";
3-
import Context from "./context.js";
4-
5-
export { Action, Alert, Context };
1+
export { default as Action } from "./action.js";
2+
export { default as Alert } from "./alert.js";
3+
export { default as Context } from "./context.js";

0 commit comments

Comments
 (0)