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
npm install primevue primeicons
npm install primevue
// with yarn
yarn add primevue primeicons
yarn add primevue
````
## Plugin
@ -44,9 +44,6 @@ import 'primevue/resources/themes/lara-light-blue/theme.css';
// core
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.
@ -96,8 +93,7 @@ Open the nuxt configuration file and add the css dependencies.
export default defineNuxtConfig({
css: [
"primevue/resources/themes/lara-light-blue/theme.css",
"primevue/resources/primevue.css",
"primeicons/primeicons.css"
"primevue/resources/primevue.css"
],
build: {
transpile: ["primevue"]

View File

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

View File

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

View File

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