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
|
// 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"]
|
||||||
|
|
|
@ -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`
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -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"]
|
||||||
|
|
|
@ -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 {
|
||||||
|
|
Loading…
Reference in New Issue