Skip to content

Commit d3b937c

Browse files
Adding stupid stuff to example because console keeps throwing an error thinking it's trying to import a plugin when it's a string
1 parent 9c1d771 commit d3b937c

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/documentation/sections/UsageSection.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ app.use(createVStepperForm({
6767
6868
app.mount('#app');`;
6969
70+
// Needed to add ${''} to prevent console thinking it's actually trying to import the plugin //
7071
const usageGlobalComponent = `import { createApp } from 'vue';
7172
import App from './App.vue';
7273
import { VStepperForm } from '@wdns/vuetify-stepper-form';
@@ -84,7 +85,7 @@ const usageIndividual = `<template>
8485
</template>
8586
8687
\<script setup\>
87-
import { VStepperForm } from '@wdns/vuetify-stepper-form';
88+
im${''}port { VStepperForm } from '@wdns/vuetify-stepper-form';
8889
8990
const foo = ref(null);
9091
\</script\>`;

0 commit comments

Comments
 (0)