From 0c67a2b2d776f63ac32e7348f45c43787fab6004 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Wed, 13 Mar 2024 15:47:29 -0700 Subject: [PATCH 1/2] Change to async --- CHANGELOG.md | 5 +++++ src/plugin/index.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 45491fb..fe3a595 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,11 @@ # Change Log All notable changes to the "vuetify-resize-drawer" plugin will be documented in this file. +## v3.1.4 +2024-03-13 +[main] (@webdevnerdstuff) +* Change component to use `defineAsyncComponent` + ## v3.1.3 2024-02-26 [main] (@webdevnerdstuff) diff --git a/src/plugin/index.ts b/src/plugin/index.ts index 3b69428..c573e29 100644 --- a/src/plugin/index.ts +++ b/src/plugin/index.ts @@ -10,7 +10,7 @@ export function createVResizeDrawer(options: GlobalOptions = {}) { const install = (app: App) => { app.provide(globalOptions, options); - app.component('VResizeDrawer', VResizeDrawer); + app.component('VResizeDrawer', defineAsyncComponent(() => import('./VResizeDrawer.vue'))); }; return { From 353f9c934bfc4a0f77bfcd6ff5df3be7f10865a9 Mon Sep 17 00:00:00 2001 From: WebDevNerdStuff Date: Wed, 13 Mar 2024 15:47:44 -0700 Subject: [PATCH 2/2] 3.1.4 --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 767107c..3f5826b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@wdns/vuetify-resize-drawer", - "version": "3.1.3", + "version": "3.1.4", "description": "The vuetify-resize-drawer component extends the functionality of the v-navigation-drawer so that it is resizable by the user.", "private": false, "publishConfig": {