@hostlink/nuxt-light 1.10.6 → 1.10.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/module.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "light",
3
3
  "configKey": "light",
4
- "version": "1.10.6"
4
+ "version": "1.10.7"
5
5
  }
package/dist/module.mjs CHANGED
@@ -75,6 +75,9 @@ const module = defineNuxtModule({
75
75
  mode: "client"
76
76
  });
77
77
  nuxt.hook("vite:extendConfig", (config) => {
78
+ config.optimizeDeps ??= {};
79
+ config.optimizeDeps.exclude ??= [];
80
+ config.optimizeDeps.exclude.push("quasar");
78
81
  config.define = {
79
82
  ...config.define,
80
83
  __QUASAR_SSR__: false,
@@ -87,7 +90,7 @@ const module = defineNuxtModule({
87
90
  config.replace = {
88
91
  ...config.replace,
89
92
  __QUASAR_SSR__: false,
90
- __QUASAR_SSR_SERVER__: false,
93
+ __QUASAR_SSR_SERVER__: true,
91
94
  __QUASAR_SSR_CLIENT__: false,
92
95
  __QUASAR_SSR_PWA__: false
93
96
  };
@@ -1,7 +1,7 @@
1
1
  <script setup>
2
2
  import { useLight } from "#imports";
3
3
  import { ref, reactive, onMounted } from 'vue'
4
- import { useQuasar } from 'quasar';
4
+ import { useQuasar, Dialog } from 'quasar';
5
5
  import { useI18n } from 'vue-i18n';
6
6
  import { m, notify } from '#imports';
7
7
 
@@ -37,7 +37,7 @@ const submit = async () => {
37
37
  }
38
38
 
39
39
  const forgetPassword = async () => {
40
- qua.dialog({
40
+ Dialog.create({
41
41
  title: i18n.t("Forget password"),
42
42
  message: "Please enter your email address, we will send you a code to reset your password",
43
43
  prompt: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hostlink/nuxt-light",
3
- "version": "1.10.6",
3
+ "version": "1.10.7",
4
4
  "description": "HostLink Nuxt Light Framework",
5
5
  "repository": "@hostlink/nuxt-light",
6
6
  "license": "MIT",