Theme designer content create fix
parent
07fae3b6de
commit
de0a34157c
|
@ -226,7 +226,7 @@ export default {
|
||||||
const theme = JSON.stringify(this.$appState.designer.preset, null, 4).replace(/"([^"]+)":/g, '$1:');
|
const theme = JSON.stringify(this.$appState.designer.preset, null, 4).replace(/"([^"]+)":/g, '$1:');
|
||||||
const textContent = `import { createApp } from "vue";
|
const textContent = `import { createApp } from "vue";
|
||||||
import PrimeVue from "primevue/config";
|
import PrimeVue from "primevue/config";
|
||||||
import {${basePreset}} from "@primevue/themes/${basePreset.toLowerCase()}";
|
import ${basePreset} from "@primevue/themes/${basePreset.toLowerCase()}";
|
||||||
import { definePreset } from "@primevue/themes";
|
import { definePreset } from "@primevue/themes";
|
||||||
|
|
||||||
const app = createApp(App);
|
const app = createApp(App);
|
||||||
|
|
Loading…
Reference in New Issue