@dargmuesli/nuxt-vio 8.1.1 → 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
- ? `maevsi-${runtimeConfig.public.vio.isInProduction ? 'prod' : 'dev'}-${
165
- props.idLabel
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
@@ -141,6 +141,7 @@ export default defineNuxtConfig(
141
141
  },
142
142
  site: {
143
143
  debug: process.env.NODE_ENV === 'development',
144
+ id: 'vio',
144
145
  url: SITE_URL,
145
146
  },
146
147
  sitemap: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dargmuesli/nuxt-vio",
3
- "version": "8.1.1",
3
+ "version": "8.1.2",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/dargmuesli/vio.git"