+
@@ -297,13 +297,13 @@
Vertical Alignment - Per Column
-
+
-
+
-
diff --git a/src/views/grid/GridDoc.vue b/src/views/grid/GridDoc.vue
index 000ed6c29..828d0c860 100755
--- a/src/views/grid/GridDoc.vue
+++ b/src/views/grid/GridDoc.vue
@@ -25,66 +25,6 @@
-
Direction
-
Default direction is row and p-dir-* class at the container defines the other possible directions which can be row reverse, column and column reverse
-
-
-<div class="p-grid p-dir-rev">
- <div class="p-col">1</div>
- <div class="p-col">2</div>
- <div class="p-col">3</div>
-</div>
-
-
-<div class="p-grid p-dir-col">
- <div class="p-col">1</div>
- <div class="p-col">2</div>
- <div class="p-col">3</div>
-</div>
-
-
-<div class="p-grid p-dir-col-rev">
- <div class="p-col">1</div>
- <div class="p-col">2</div>
- <div class="p-col">3</div>
-</div>
-
-
-
-
-
-
-
12 Column Grid
FlexGrid includes a 12 column based layout utility where width of a column is defined with the p-col-{number} style class. Columns with prefined widths can be used with columns with auto width (p-col) as well.
@@ -259,171 +199,6 @@
D
-
-
Horizontal Alignment
-
p-justify-* classes are used on the container element to define the alignment along the main axis.
-
-
-
-
- Class |
- Description |
-
-
-
-
- p-justify-start (default) |
- Items are packed toward the start line |
-
-
- p-justify-end |
- Items are packed toward to end line |
-
-
- p-justify-center |
- Items are centered along the line |
-
-
- p-justify-between |
- Items are evenly distributed in the line; first item is on the start line, last item on the end line |
-
-
- p-justify-around |
- Items are evenly distributed in the line with equal space around them. |
-
-
- p-justify-even |
- Items are distributed so that the spacing between any two items (and the space to the edges) is equal. |
-
-
-
-
-
-<div class="p-grid p-justify-between">
- <div class="p-col-2">2</div>
- <div class="p-col-1">1</div>
- <div class="p-col-4">4</div>
-</div>
-
-
-
-
-
Vertical Alignment
-
p-align-* classes are used on the container element to define the alignment along the cross axis.
-
-
-
-
- Class |
- Description |
-
-
-
-
- p-align-stretch (default) |
- Stretch to fill the container. |
-
-
- p-align-start |
- Cross-start margin edge of the items is placed on the cross-start line |
-
-
- p-align-end |
- Cross-end margin edge of the items is placed on the cross-end line |
-
-
- p-align-center |
- Items are centered in the cross-axis |
-
-
- p-align-baseline |
- Items are aligned such as their baselines align |
-
-
-
-
-
-<div class="p-grid p-align-center">
- <div class="p-col">4</div>
- <div class="p-col">4</div>
- <div class="p-col">4</div>
-</div>
-
-
-
-
Vertical alignment can also be defined at column level with the p-align-col-* classes.
-
-
-
-
- Class |
- Description |
-
-
-
-
- p-col-align-stretch |
- Stretch to fill the container. |
-
-
- p-col-align-start |
- Cross-start margin edge of the items is placed on the cross-start line |
-
-
- p-col-align-end |
- Cross-end margin edge of the items is placed on the cross-end line |
-
-
- p-col-align-center |
- Items are centered in the cross-axis |
-
-
- p-col-align-baseline |
- Items are aligned such as their baselines align |
-
-
-
-
-
-<div class="p-grid">
- <div class="p-col p-col-align-start">4</div>
- <div class="p-col p-col-align-center">4</div>
- <div class="p-col p-col-align-end">4</div>
-</div>
-
-
-
-
Offset
Offset classes allow defining a left margin on a column to avoid adding empty columns for spacing.
@@ -550,58 +325,6 @@
<div class="p-col">3</div>
</div>
-
-
Customization
-
PrimeFlex allows customization of breakpoints and gutters via SASS variables, visit the PrimeFlex repository to get access to the primeflex.scss file to build your own customized Grid.
-
-
-
-
-
- Variable |
- Default |
-
-
-
-
- $sm |
- 576px |
-
-
- $md |
- 768 |
-
-
- $lg |
- 992 |
-
-
- $xl |
- 1200px |
-
-
- $gutter |
- .5em |
-
-
- $fieldMargin |
- 1rem |
-
-
- $fieldLabelMargin |
- .5rem |
-
-
- $helperTextMargin |
- .25rem |
-
-
- $spacer |
- 1rem |
-
-
-
-
@@ -610,372 +333,372 @@
-<h3>Basic</h3>
+Basic
<div class="p-grid">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col">
+ <div class="box">3</div>
+ </div>
</div>
-<h3>Dynamic</h3>
+<h5>Dynamic</h5>
<Button type="button" icon="pi pi-plus" title="Add Column" @click="addColumn" :disabled="columns.length === 20" style="margin-right: .5em" />
<Button type="button" icon="pi pi-minus" title="Remove Column" @click="removeColumn" :disabled="columns.length === 1" />
<div style="margin-top: .5em">
- <transition-group name="dynamic-box" tag="div" class="p-grid">
- <div v-for="col of columns" :key="col" class="p-col">
- <div class="box">{{col}}</div>
- </div>
- </transition-group>
+ <transition-group name="dynamic-box" tag="div" class="p-grid">
+ <div v-for="col of columns" :key="col" class="p-col">
+ <div class="box">{{col}}</div>
+ </div>
+ </transition-group>
</div>
-<h3>Reverse Direction</h3>
-<div class="p-grid p-dir-rev">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
+<h5>Reverse Direction</h5>
+<div class="p-grid p-flex-row-reverse">
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col">
+ <div class="box">3</div>
+ </div>
</div>
-<h3>Column Direction</h3>
-<div class="p-grid p-dir-col">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
+<h5>Column Direction</h5>
+<div class="p-grid p-flex-column">
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col">
+ <div class="box">3</div>
+ </div>
</div>
-<h3>Reverse Column Direction</h3>
-<div class="p-grid p-dir-col-rev">
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">2</div>
- </div>
- <div class="p-col">
- <div class="box">3</div>
- </div>
+<h5>Reverse Column Direction</h5>
+<div class="p-grid p-flex-column-reverse">
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col">
+ <div class="box">3</div>
+ </div>
</div>
-<h3>12 Column Grid</h3>
+<h5>12 Column Grid</h5>
<div class="p-grid">
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
- <div class="p-col">
- <div class="box">1</div>
- </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col">
+ <div class="box">1</div>
+ </div>
</div>
<div class="p-grid">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
<div class="p-grid">
- <div class="p-col-8">
- <div class="box">8</div>
- </div>
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
+ <div class="p-col-8">
+ <div class="box">8</div>
+ </div>
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
</div>
-<h3>MultiLine</h3>
+<h5>MultiLine</h5>
<div class="p-grid">
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
</div>
-<h3>Fixed Width Column</h3>
+<h5>Fixed Width Column</h5>
<div class="p-grid">
- <div class="p-col-fixed" style="width:100px">
- <div class="box">100px</div>
- </div>
- <div class="p-col">
- <div class="box">auto</div>
- </div>
+ <div class="p-col-fixed" style="width:100px">
+ <div class="box">100px</div>
+ </div>
+ <div class="p-col">
+ <div class="box">auto</div>
+ </div>
</div>
-<h3>Responsive</h3>
+<h5>Responsive</h5>
<div class="p-grid">
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
- <div class="p-col-12 p-md-6 p-lg-3">
- <div class="box">p-col-12 p-md-6 p-lg-3</div>
- </div>
+ <div class="p-col-12 p-md-6 p-lg-3">
+ <div class="box">p-col-12 p-md-6 p-lg-3</div>
+ </div>
+ <div class="p-col-12 p-md-6 p-lg-3">
+ <div class="box">p-col-12 p-md-6 p-lg-3</div>
+ </div>
+ <div class="p-col-12 p-md-6 p-lg-3">
+ <div class="box">p-col-12 p-md-6 p-lg-3</div>
+ </div>
+ <div class="p-col-12 p-md-6 p-lg-3">
+ <div class="box">p-col-12 p-md-6 p-lg-3</div>
+ </div>
</div>
-<h3>Horizontal Alignment - Start</h3>
-<div class="p-grid p-justify-start">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - Start</h5>
+<div class="p-grid p-jc-start">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Horizontal Alignment - End</h3>
-<div class="p-grid p-justify-end">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - End</h5>
+<div class="p-grid p-jc-end">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Horizontal Alignment - Center</h3>
-<div class="p-grid p-justify-center">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - Center</h5>
+<div class="p-grid p-jc-center">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Horizontal Alignment - Between</h3>
-<div class="p-grid p-justify-between">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - Between</h5>
+<div class="p-grid p-jc-between">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Horizontal Alignment - Around</h3>
-<div class="p-grid p-justify-around">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - Around</h5>
+<div class="p-grid p-jc-around">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Horizontal Alignment - Even</h3>
-<div class="p-grid p-justify-even">
- <div class="p-col-2">
- <div class="box">2</div>
- </div>
- <div class="p-col-1">
- <div class="box">1</div>
- </div>
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
+<h5>Horizontal Alignment - Even</h5>
+<div class="p-grid p-jc-evenly">
+ <div class="p-col-2">
+ <div class="box">2</div>
+ </div>
+ <div class="p-col-1">
+ <div class="box">1</div>
+ </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Vertical Alignment - Start</h3>
-<div class="p-grid p-align-start vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
+<h5>Vertical Alignment - Start</h5>
+<div class="p-grid p-ai-start vertical-container">
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Vertical Alignment - End</h3>
-<div class="p-grid p-align-end vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
+<h5>Vertical Alignment - End</h5>
+<div class="p-grid p-ai-end vertical-container">
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Vertical Alignment - Center</h3>
-<div class="p-grid p-align-center vertical-container">
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
- <div class="p-col">
- <div class="box">4</div>
- </div>
+<h5>Vertical Alignment - Center</h5>
+<div class="p-grid p-ai-center vertical-container">
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Vertical Alignment - Stretch</h3>
-<div class="p-grid p-align-stretch vertical-container">
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
- <div class="p-col">
- <div class="box box-stretched">4</div>
- </div>
+<h5>Vertical Alignment - Stretch</h5>
+<div class="p-grid p-ai-stretch vertical-container">
+ <div class="p-col">
+ <div class="box box-stretched">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box box-stretched">4</div>
+ </div>
+ <div class="p-col">
+ <div class="box box-stretched">4</div>
+ </div>
</div>
-<h3>Vertical Alignment - Per Column</h3>
+<h5>Vertical Alignment - Per Column</h5>
<div class="p-grid vertical-container">
- <div class="p-col p-col-align-start">
- <div class="box">4</div>
- </div>
- <div class="p-col p-col-align-center">
- <div class="box">4</div>
- </div>
- <div class="p-col p-col-align-end">
- <div class="box">4</div>
- </div>
+ <div class="p-col p-as-start">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col p-as-center">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col p-as-end">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Offset</h3>
+<h5>Offset</h5>
<div class="p-grid">
- <div class="p-col-6 p-offset-3">
- <div class="box">6</div>
- </div>
+ <div class="p-col-6 p-offset-3">
+ <div class="box">6</div>
+ </div>
</div>
<div class="p-grid">
- <div class="p-col-4">
- <div class="box">4</div>
- </div>
- <div class="p-col-4 p-offset-4">
- <div class="box">4</div>
- </div>
+ <div class="p-col-4">
+ <div class="box">4</div>
+ </div>
+ <div class="p-col-4 p-offset-4">
+ <div class="box">4</div>
+ </div>
</div>
-<h3>Nested</h3>
+<h5>Nested</h5>
<div class="p-grid nested-grid">
- <div class="p-col-8">
- <div class="p-grid">
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-6">
- <div class="box">6</div>
- </div>
- <div class="p-col-12">
- <div class="box">12</div>
- </div>
- </div>
- </div>
- <div class="p-col-4">
- <div class="box box-stretched">4</div>
- </div>
+ <div class="p-col-8">
+ <div class="p-grid">
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-6">
+ <div class="box">6</div>
+ </div>
+ <div class="p-col-12">
+ <div class="box">12</div>
+ </div>
+ </div>
+ </div>
+ <div class="p-col-4">
+ <div class="box box-stretched">4</div>
+ </div>
</div>
-<h3>Panels</h3>
+<h5>Panels</h5>
<div class="p-grid">
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
- <div class="p-col">
- <Panel header="Header">
- <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
- Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
- cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
- </Panel>
- </div>
+ <div class="p-col">
+ <Panel header="Header">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+ cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </Panel>
+ </div>
+ <div class="p-col">
+ <Panel header="Header">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+ cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </Panel>
+ </div>
+ <div class="p-col">
+ <Panel header="Header">
+ <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.
+ Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat.
+ Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat
+ cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+ </Panel>
+ </div>
</div>
diff --git a/src/views/megamenu/MegaMenuDoc.vue b/src/views/megamenu/MegaMenuDoc.vue
index 5ad6f5c5b..ae5281ace 100755
--- a/src/views/megamenu/MegaMenuDoc.vue
+++ b/src/views/megamenu/MegaMenuDoc.vue
@@ -8,15 +8,7 @@ import MegaMenu from 'primevue/megamenu';
MenuModel
- MegaMenu uses the common MenuModel API to define the items, visit MenuModel API for details.
-
- Getting Started
- Layout of the MegaMenu is managed by the PrimeFlex that can be downloaded from npm.
-
-npm install primeflex --save
-
-
- MegaMenu requires a collection of menuitems as its model.
+ MegaMenu uses the common MenuModel API to define the items of the model, visit MenuModel API for details.
<MegaMenu :model="items" />
diff --git a/src/views/setup/Setup.vue b/src/views/setup/Setup.vue
index afef28817..c131d869e 100755
--- a/src/views/setup/Setup.vue
+++ b/src/views/setup/Setup.vue
@@ -14,10 +14,7 @@ npm install primeicons --save
PrimeFlex
PrimeFlex is a CSS utility library featuring various helpers such as a grid system, flexbox, spacing, elevation and more. Although it is not required, it is highly
- recommended to add PrimeFlex as it is likely to need such utilities when developing applications.
-
-npm install primeflex --save
-
+ recommended to add PrimeFlex as it is likely to need such utilities when developing applications. View the PrimeFlex section for the installation.
Module Loader
This is the recommended way if your application uses vue-cli or has a webpack based build with vue-loader configured.
diff --git a/src/views/spacing/SpacingDoc.vue b/src/views/spacing/SpacingDoc.vue
index 2b86bfe9c..611925b60 100644
--- a/src/views/spacing/SpacingDoc.vue
+++ b/src/views/spacing/SpacingDoc.vue
@@ -61,9 +61,6 @@
Customization
A custom build with different values can be obtained from PrimeFlex using the _variables.scss file.
-
- Dependencies
- PrimeFlex.
diff --git a/src/views/text/TextDoc.vue b/src/views/text/TextDoc.vue
index 3271c189a..724d3c3ce 100644
--- a/src/views/text/TextDoc.vue
+++ b/src/views/text/TextDoc.vue
@@ -68,9 +68,6 @@
<div class="p-text-italic">Italic</div>
-
- Dependencies
- PrimeFlex.