@model-w/preset-nuxt3 1.0.3 → 1.0.5
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/index.ts +11 -8
- package/package.json +3 -3
package/index.ts
CHANGED
|
@@ -263,6 +263,15 @@ export function defineModelWConfig(
|
|
|
263
263
|
|
|
264
264
|
runtimeConfig: defu(config.runtimeConfig || {}, {
|
|
265
265
|
apiUrl,
|
|
266
|
+
proxy: {
|
|
267
|
+
options: { target: apiUrl },
|
|
268
|
+
},
|
|
269
|
+
public: {
|
|
270
|
+
sentry: {
|
|
271
|
+
dsn: sentryDsn,
|
|
272
|
+
environment,
|
|
273
|
+
},
|
|
274
|
+
},
|
|
266
275
|
}),
|
|
267
276
|
|
|
268
277
|
proxy: {
|
|
@@ -309,14 +318,8 @@ export function defineModelWConfig(
|
|
|
309
318
|
|
|
310
319
|
...(enableRuntimeTemplate
|
|
311
320
|
? {
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
alias: {
|
|
315
|
-
vue: require.resolve(
|
|
316
|
-
"vue/dist/vue.esm-bundler.js"
|
|
317
|
-
),
|
|
318
|
-
},
|
|
319
|
-
},
|
|
321
|
+
experimental: {
|
|
322
|
+
runtimeVueCompiler: true,
|
|
320
323
|
},
|
|
321
324
|
}
|
|
322
325
|
: {}),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@model-w/preset-nuxt3",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Preset of Nuxt3 for ModelW",
|
|
6
6
|
"license": "WTFPL",
|
|
@@ -36,8 +36,8 @@
|
|
|
36
36
|
"node": "18.x"
|
|
37
37
|
},
|
|
38
38
|
"peerDependencies": {
|
|
39
|
-
"@model-w/axios": "
|
|
40
|
-
"@model-w/proxy": "
|
|
39
|
+
"@model-w/axios": "1.x",
|
|
40
|
+
"@model-w/proxy": "2.x",
|
|
41
41
|
"@model-w/sentry": "1.x",
|
|
42
42
|
"@vuelidate/core": "2.0.x",
|
|
43
43
|
"@vuelidate/validators": "2.0.x",
|