vitrify 0.25.2 → 0.25.3
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/index.js
CHANGED
|
@@ -513,10 +513,17 @@ export const baseConfig = async ({ ssr, appDir, publicDir, base = '/', command =
|
|
|
513
513
|
vuePkgAliases.push({
|
|
514
514
|
find: new RegExp('^vue$'),
|
|
515
515
|
replacement: fileURLToPath(new URL('./dist/vue.runtime.esm-bundler.js', packageUrls['vue']))
|
|
516
|
-
},
|
|
517
|
-
|
|
518
|
-
|
|
519
|
-
|
|
516
|
+
},
|
|
517
|
+
// {
|
|
518
|
+
// find: new RegExp('^vue-router$'),
|
|
519
|
+
// replacement: fileURLToPath(
|
|
520
|
+
// new URL(
|
|
521
|
+
// './dist/vue-router.esm-bundler.js',
|
|
522
|
+
// packageUrls['vue-router']
|
|
523
|
+
// )
|
|
524
|
+
// )
|
|
525
|
+
// },
|
|
526
|
+
...vuePkgAliases);
|
|
520
527
|
}
|
|
521
528
|
}
|
|
522
529
|
const alias = [
|
|
@@ -83,7 +83,10 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
83
83
|
const { default: iconMapFn } = await import(
|
|
84
84
|
// @ts-expect-error undefined
|
|
85
85
|
'virtual:quasar-iconMapFn');
|
|
86
|
-
|
|
86
|
+
const { installQuasar } = await import(
|
|
87
|
+
// @ts-expect-error undefined
|
|
88
|
+
'virtual:quasar');
|
|
89
|
+
app.use(installQuasar, {
|
|
87
90
|
plugins: quasarPlugins,
|
|
88
91
|
directives,
|
|
89
92
|
lang,
|
|
@@ -114,7 +117,7 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
114
117
|
urls,
|
|
115
118
|
globalCss,
|
|
116
119
|
staticImports: {
|
|
117
|
-
|
|
120
|
+
// quasar: ['Quasar']
|
|
118
121
|
},
|
|
119
122
|
hooks: {
|
|
120
123
|
onAppCreated: onAppCreatedHooks,
|
|
@@ -209,7 +212,7 @@ export const QuasarPlugin = async ({ ssr = false, pwa = false, options }) => {
|
|
|
209
212
|
export * from 'quasar/src/directives.js';
|
|
210
213
|
export * from 'quasar/src/utils.js';
|
|
211
214
|
export * from 'quasar/src/composables.js';
|
|
212
|
-
export { default as
|
|
215
|
+
export { default as installQuasar } from 'quasar/src/install-quasar.js'`;
|
|
213
216
|
}
|
|
214
217
|
return null;
|
|
215
218
|
}
|
package/package.json
CHANGED
package/src/node/index.ts
CHANGED
|
@@ -642,15 +642,15 @@ export const baseConfig = async ({
|
|
|
642
642
|
new URL('./dist/vue.runtime.esm-bundler.js', packageUrls['vue'])
|
|
643
643
|
)
|
|
644
644
|
},
|
|
645
|
-
{
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
},
|
|
645
|
+
// {
|
|
646
|
+
// find: new RegExp('^vue-router$'),
|
|
647
|
+
// replacement: fileURLToPath(
|
|
648
|
+
// new URL(
|
|
649
|
+
// './dist/vue-router.esm-bundler.js',
|
|
650
|
+
// packageUrls['vue-router']
|
|
651
|
+
// )
|
|
652
|
+
// )
|
|
653
|
+
// },
|
|
654
654
|
...vuePkgAliases
|
|
655
655
|
)
|
|
656
656
|
}
|
|
@@ -162,8 +162,13 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
162
162
|
'virtual:quasar-iconMapFn'
|
|
163
163
|
)
|
|
164
164
|
|
|
165
|
+
const { installQuasar } = await import(
|
|
166
|
+
// @ts-expect-error undefined
|
|
167
|
+
'virtual:quasar'
|
|
168
|
+
)
|
|
169
|
+
|
|
165
170
|
app.use(
|
|
166
|
-
|
|
171
|
+
installQuasar,
|
|
167
172
|
{
|
|
168
173
|
plugins: quasarPlugins,
|
|
169
174
|
directives,
|
|
@@ -199,7 +204,7 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
199
204
|
urls,
|
|
200
205
|
globalCss,
|
|
201
206
|
staticImports: {
|
|
202
|
-
quasar: ['Quasar']
|
|
207
|
+
// quasar: ['Quasar']
|
|
203
208
|
},
|
|
204
209
|
hooks: {
|
|
205
210
|
onAppCreated: onAppCreatedHooks,
|
|
@@ -301,7 +306,7 @@ export const QuasarPlugin: VitrifyPlugin<QuasarPluginOptions> = async ({
|
|
|
301
306
|
export * from 'quasar/src/directives.js';
|
|
302
307
|
export * from 'quasar/src/utils.js';
|
|
303
308
|
export * from 'quasar/src/composables.js';
|
|
304
|
-
export { default as
|
|
309
|
+
export { default as installQuasar } from 'quasar/src/install-quasar.js'`
|
|
305
310
|
}
|
|
306
311
|
return null
|
|
307
312
|
}
|