Theme designer content create fix

pull/6893/head
Anastasia Tsilepi 2024-11-29 17:00:06 +02:00
parent 07fae3b6de
commit de0a34157c
No known key found for this signature in database
1 changed files with 1 additions and 1 deletions

View File

@ -226,7 +226,7 @@ export default {
const theme = JSON.stringify(this.$appState.designer.preset, null, 4).replace(/"([^"]+)":/g, '$1:');
const textContent = `import { createApp } from "vue";
import PrimeVue from "primevue/config";
import {${basePreset}} from "@primevue/themes/${basePreset.toLowerCase()}";
import ${basePreset} from "@primevue/themes/${basePreset.toLowerCase()}";
import { definePreset } from "@primevue/themes";
const app = createApp(App);