@dargmuesli/nuxt-vio 8.1.0 → 8.1.2
Sign up to get free protection for your applications and to get access to all the features.
@@ -158,12 +158,13 @@ const emit = defineEmits<{
|
|
158
158
|
|
159
159
|
const { t } = useI18n()
|
160
160
|
const runtimeConfig = useRuntimeConfig()
|
161
|
+
const siteConfig = useSiteConfig()
|
161
162
|
|
162
163
|
// data
|
163
164
|
const idLabelFull = props.idLabel
|
164
|
-
?
|
165
|
-
|
166
|
-
}`
|
165
|
+
? `${siteConfig.id}-${
|
166
|
+
runtimeConfig.public.vio.isInProduction ? 'prod' : 'dev'
|
167
|
+
}-${props.idLabel}`
|
167
168
|
: undefined
|
168
169
|
|
169
170
|
// initialization
|
package/nuxt.config.ts
CHANGED