@dargmuesli/nuxt-vio 8.1.0 → 8.1.2
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.
|
@@ -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