diff --git a/doc/autocomplete/ImportDoc.vue b/doc/autocomplete/ImportDoc.vue index da4aaaecd..cd49441a1 100644 --- a/doc/autocomplete/ImportDoc.vue +++ b/doc/autocomplete/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import AutoComplete from 'primevue/autocomplete';` + basic: `import AutoComplete from 'primevue/autocomplete';` } }; } diff --git a/doc/blockui/ImportDoc.vue b/doc/blockui/ImportDoc.vue index 1e5db4e96..8478e48e9 100644 --- a/doc/blockui/ImportDoc.vue +++ b/doc/blockui/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import BlockUI from 'primevue/blockui';` + basic: `import BlockUI from 'primevue/blockui';` } }; } diff --git a/doc/breadcrumb/ImportDoc.vue b/doc/breadcrumb/ImportDoc.vue index 3709f4708..c44e1b5c3 100644 --- a/doc/breadcrumb/ImportDoc.vue +++ b/doc/breadcrumb/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Breadcrumb from 'primevue/breadcrumb';` + basic: `import Breadcrumb from 'primevue/breadcrumb';` } }; } diff --git a/doc/button/ImportDoc.vue b/doc/button/ImportDoc.vue index d24c325a0..d593509c7 100644 --- a/doc/button/ImportDoc.vue +++ b/doc/button/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Button from 'primevue/button';` + basic: `import Button from 'primevue/button';` } }; } diff --git a/doc/calendar/ImportDoc.vue b/doc/calendar/ImportDoc.vue index e09fe06ac..cb5966c1a 100644 --- a/doc/calendar/ImportDoc.vue +++ b/doc/calendar/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Calendar from 'primevue/calendar';` + basic: `import Calendar from 'primevue/calendar';` } }; } diff --git a/doc/carousel/ImportDoc.vue b/doc/carousel/ImportDoc.vue index de6243c08..05e4de167 100644 --- a/doc/carousel/ImportDoc.vue +++ b/doc/carousel/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Carousel from 'primevue/carousel';` + basic: `import Carousel from 'primevue/carousel';` } }; } diff --git a/doc/cascadeselect/ImportDoc.vue b/doc/cascadeselect/ImportDoc.vue index 1a56ac31f..1bd17a003 100644 --- a/doc/cascadeselect/ImportDoc.vue +++ b/doc/cascadeselect/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import CascadeSelect from 'primevue/cascadeselect';` + basic: `import CascadeSelect from 'primevue/cascadeselect';` } }; } diff --git a/doc/checkbox/ImportDoc.vue b/doc/checkbox/ImportDoc.vue index 1d3b42ade..9baef2788 100644 --- a/doc/checkbox/ImportDoc.vue +++ b/doc/checkbox/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Checkbox from 'primevue/checkbox';` + basic: `import Checkbox from 'primevue/checkbox';` } }; } diff --git a/doc/chip/ImportDoc.vue b/doc/chip/ImportDoc.vue index 4e3ccad58..5fe88de0c 100644 --- a/doc/chip/ImportDoc.vue +++ b/doc/chip/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Chip from 'primevue/chip';` + basic: `import Chip from 'primevue/chip';` } }; } diff --git a/doc/colorpicker/ImportDoc.vue b/doc/colorpicker/ImportDoc.vue index 823f8e293..c6d464e96 100644 --- a/doc/colorpicker/ImportDoc.vue +++ b/doc/colorpicker/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import ColorPicker from 'primevue/colorpicker';` + basic: `import ColorPicker from 'primevue/colorpicker';` } }; } diff --git a/doc/configuration/ImportDoc.vue b/doc/configuration/ImportDoc.vue index 20e3eaa38..c2081637e 100644 --- a/doc/configuration/ImportDoc.vue +++ b/doc/configuration/ImportDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` -import PrimeVue from 'primevue/config'; + basic: `import PrimeVue from 'primevue/config'; const app = createApp(App); app.use(PrimeVue);` diff --git a/doc/configuration/InputStyleDoc.vue b/doc/configuration/InputStyleDoc.vue index a3013426f..53e3a741f 100644 --- a/doc/configuration/InputStyleDoc.vue +++ b/doc/configuration/InputStyleDoc.vue @@ -15,8 +15,7 @@ export default { data() { return { code: { - basic: ` -import {createApp} from "vue"; + basic: `import {createApp} from "vue"; import PrimeVue from "primevue/config"; const app = createApp(App); diff --git a/doc/configuration/NuxtIntegrationDoc.vue b/doc/configuration/NuxtIntegrationDoc.vue index bc18732bc..b29455146 100644 --- a/doc/configuration/NuxtIntegrationDoc.vue +++ b/doc/configuration/NuxtIntegrationDoc.vue @@ -19,8 +19,7 @@ export default { data() { return { code1: { - basic: ` -export default defineNuxtConfig({ + basic: `export default defineNuxtConfig({ css: [ "primevue/resources/themes/lara-light-blue/theme.css", "primevue/resources/primevue.css", @@ -32,8 +31,7 @@ export default defineNuxtConfig({ })` }, code2: { - basic: ` -import { defineNuxtPlugin } from "#app"; + basic: `import { defineNuxtPlugin } from "#app"; import PrimeVue from "primevue/config"; import Button from "primevue/button"; diff --git a/doc/configuration/PropCasesDoc.vue b/doc/configuration/PropCasesDoc.vue index d5f2b8ff6..871eb6a3c 100644 --- a/doc/configuration/PropCasesDoc.vue +++ b/doc/configuration/PropCasesDoc.vue @@ -11,8 +11,7 @@ export default { data() { return { code: { - basic: ` - + basic: ` diff --git a/doc/configuration/RippleDoc.vue b/doc/configuration/RippleDoc.vue index d76bcdc21..4c7a51fa0 100644 --- a/doc/configuration/RippleDoc.vue +++ b/doc/configuration/RippleDoc.vue @@ -11,8 +11,7 @@ export default { data() { return { code: { - basic: ` -import {createApp} from "vue"; + basic: `import { createApp } from "vue"; import PrimeVue from "primevue/config"; const app = createApp(App); diff --git a/doc/configuration/ZIndexDoc.vue b/doc/configuration/ZIndexDoc.vue index e953f48db..7e1ae513a 100644 --- a/doc/configuration/ZIndexDoc.vue +++ b/doc/configuration/ZIndexDoc.vue @@ -14,8 +14,7 @@ export default { data() { return { code: { - basic: ` -import {createApp} from "vue"; + basic: `import {createApp} from "vue"; import PrimeVue from "primevue/config"; const app = createApp(App); diff --git a/doc/confirmdialog/ImportDoc.vue b/doc/confirmdialog/ImportDoc.vue index e6f9ef7c9..775d573ae 100644 --- a/doc/confirmdialog/ImportDoc.vue +++ b/doc/confirmdialog/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import ConfirmDialog from 'primevue/confirmdialog';` + basic: `import ConfirmDialog from 'primevue/confirmdialog';` } }; } diff --git a/doc/confirmpopup/ImportDoc.vue b/doc/confirmpopup/ImportDoc.vue index 8e3fbad77..5404a5568 100644 --- a/doc/confirmpopup/ImportDoc.vue +++ b/doc/confirmpopup/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import ConfirmPopup from 'primevue/confirmpopup';` + basic: `import ConfirmPopup from 'primevue/confirmpopup';` } }; } diff --git a/doc/dataview/ImportDoc.vue b/doc/dataview/ImportDoc.vue index 307f8e6dd..d7cb032e2 100644 --- a/doc/dataview/ImportDoc.vue +++ b/doc/dataview/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import DataView from 'primevue/dataview'; + basic: `import DataView from 'primevue/dataview'; import DataViewLayoutOptions from 'primevue/dataviewlayoutoptions' // optional` } }; diff --git a/doc/dropdown/ImportDoc.vue b/doc/dropdown/ImportDoc.vue index c899bc2a0..285b01560 100644 --- a/doc/dropdown/ImportDoc.vue +++ b/doc/dropdown/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Dropdown from 'primevue/dropdown';` + basic: `import Dropdown from 'primevue/dropdown';` } }; } diff --git a/doc/dynamicdialog/ImportDoc.vue b/doc/dynamicdialog/ImportDoc.vue index a52145700..dc51f860a 100644 --- a/doc/dynamicdialog/ImportDoc.vue +++ b/doc/dynamicdialog/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import DynamicDialog from 'primevue/dynamicdialog';` + basic: `import DynamicDialog from 'primevue/dynamicdialog';` } }; } diff --git a/doc/fileupload/ImportDoc.vue b/doc/fileupload/ImportDoc.vue index 8206e27e0..9ae8e76c6 100644 --- a/doc/fileupload/ImportDoc.vue +++ b/doc/fileupload/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import FileUpload from 'primevue/fileupload';` + basic: `import FileUpload from 'primevue/fileupload';` } }; } diff --git a/doc/galleria/ImportDoc.vue b/doc/galleria/ImportDoc.vue index 6642f7b01..25ab56fdf 100644 --- a/doc/galleria/ImportDoc.vue +++ b/doc/galleria/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Galleria from 'primevue/galleria';` + basic: `import Galleria from 'primevue/galleria';` } }; } diff --git a/doc/image/ImportDoc.vue b/doc/image/ImportDoc.vue index ed5d8b2df..0dbeee898 100644 --- a/doc/image/ImportDoc.vue +++ b/doc/image/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import Image from 'primevue/image';` + basic: `import Image from 'primevue/image';` } }; } diff --git a/doc/inlinemessage/ImportDoc.vue b/doc/inlinemessage/ImportDoc.vue index a23e6446a..a5376d9a1 100644 --- a/doc/inlinemessage/ImportDoc.vue +++ b/doc/inlinemessage/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import InlineMessage from 'primevue/message';` + basic: `import InlineMessage from 'primevue/message';` } }; } diff --git a/doc/inputnumber/ImportDoc.vue b/doc/inputnumber/ImportDoc.vue index b7469b046..24d91be05 100644 --- a/doc/inputnumber/ImportDoc.vue +++ b/doc/inputnumber/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import InputNumber from 'primevue/inputnumber';` + basic: `import InputNumber from 'primevue/inputnumber';` } }; } diff --git a/doc/inputtext/ImportDoc.vue b/doc/inputtext/ImportDoc.vue index bb916c5b2..1677dcca7 100644 --- a/doc/inputtext/ImportDoc.vue +++ b/doc/inputtext/ImportDoc.vue @@ -8,8 +8,7 @@ export default { data() { return { code: { - basic: ` -import InputText from 'primevue/inputtext';` + basic: `import InputText from 'primevue/inputtext';` } }; } diff --git a/doc/installation/DownloadDoc.vue b/doc/installation/DownloadDoc.vue index 2eff0f6dd..849116be4 100644 --- a/doc/installation/DownloadDoc.vue +++ b/doc/installation/DownloadDoc.vue @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` -// with npm + basic: `// with npm npm install primevue primeicons // with yarn diff --git a/doc/installation/StylesDoc.vue b/doc/installation/StylesDoc.vue index 918f23dcf..42a2e904e 100644 --- a/doc/installation/StylesDoc.vue +++ b/doc/installation/StylesDoc.vue @@ -1,6 +1,6 @@ @@ -10,8 +10,7 @@ export default { data() { return { code: { - basic: ` -//theme + basic: `//theme import "primevue/resources/themes/lara-light-indigo/theme.css"; //core diff --git a/doc/installation/UsageDoc.vue b/doc/installation/UsageDoc.vue index 8492c8a0f..ed7a1529a 100644 --- a/doc/installation/UsageDoc.vue +++ b/doc/installation/UsageDoc.vue @@ -5,7 +5,7 @@
- +