Remove PrimeIcons from docs
parent
8875bf96fb
commit
13c1b9073f
10
README.md
10
README.md
|
@ -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"]
|
||||
|
|
|
@ -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`
|
||||
}
|
||||
};
|
||||
}
|
||||
|
|
|
@ -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"]
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue