Remove PrimeIcons from docs

pull/3976/head
Tuğçe Küçükoğlu 2023-04-18 18:05:44 +03:00
parent 8875bf96fb
commit 13c1b9073f
4 changed files with 7 additions and 15 deletions

View File

@ -15,10 +15,10 @@ PrimeVue is available at [npm](https://www.npmjs.com/package/primevue).
```` ````
// with npm // with npm
npm install primevue primeicons npm install primevue
// with yarn // with yarn
yarn add primevue primeicons yarn add primevue
```` ````
## Plugin ## Plugin
@ -44,9 +44,6 @@ import 'primevue/resources/themes/lara-light-blue/theme.css';
// core // core
import 'primevue/resources/primevue.min.css'; import 'primevue/resources/primevue.min.css';
// icons
import 'primeicons/primeicons.css';
``` ```
Each PrimeVue theme has its own font family so it is suggested to apply it to your application for a unified look. Each PrimeVue theme has its own font family so it is suggested to apply it to your application for a unified look.
@ -96,8 +93,7 @@ Open the nuxt configuration file and add the css dependencies.
export default defineNuxtConfig({ export default defineNuxtConfig({
css: [ css: [
"primevue/resources/themes/lara-light-blue/theme.css", "primevue/resources/themes/lara-light-blue/theme.css",
"primevue/resources/primevue.css", "primevue/resources/primevue.css"
"primeicons/primeicons.css"
], ],
build: { build: {
transpile: ["primevue"] transpile: ["primevue"]

View File

@ -11,10 +11,10 @@ export default {
return { return {
code: { code: {
basic: `// with npm basic: `// with npm
npm install primevue primeicons npm install primevue
// with yarn // with yarn
yarn add primevue primeicons` yarn add primevue`
} }
}; };
} }

View File

@ -22,8 +22,7 @@ export default {
basic: `export default defineNuxtConfig({ basic: `export default defineNuxtConfig({
css: [ css: [
"primevue/resources/themes/lara-light-blue/theme.css", "primevue/resources/themes/lara-light-blue/theme.css",
"primevue/resources/primevue.css", "primevue/resources/primevue.css"
"primeicons/primeicons.css"
], ],
build: { build: {
transpile: ["primevue"] transpile: ["primevue"]

View File

@ -16,10 +16,7 @@ export default {
import "primevue/resources/themes/lara-light-indigo/theme.css"; import "primevue/resources/themes/lara-light-indigo/theme.css";
//core //core
import "primevue/resources/primevue.min.css"; import "primevue/resources/primevue.min.css";`
//icons
import "primeicons/primeicons.css";`
}, },
code2: { code2: {
basic: `body { basic: `body {