Skip to content

Commit 6f48794

Browse files
committed
docs: update generated
1 parent 9fd559c commit 6f48794

File tree

5 files changed

+30
-5
lines changed

5 files changed

+30
-5
lines changed

generated/bin/flavors.js

Lines changed: 12 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/bin/flavors.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

generated/bin/templates/getting-started.md.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Getting Started - {{ flavor.name }}
33

44
The fastest way to get started, is to use one of the prebuilt components.
5+
56
{%- for f in flavors %}
67
{%- if f.name == flavor.name %}
78
- {{ f.componentHypen }} - {{ f.description }}
@@ -10,7 +11,7 @@ The fastest way to get started, is to use one of the prebuilt components.
1011
{%- endif %}
1112
{%- endfor %}
1213

13-
{%- if flavor.requirements %}
14+
{% if flavor.requirements %}
1415
## Requirements
1516

1617
Make sure to install and setup all requirements.

generated/src/flavors.ts

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,19 @@ const naiveUI: Flavor = {
122122
example: '../.vuepress/components/get-started-naive-ui.vue',
123123
}
124124

125-
export const flavors = [core, light, ant, element, naiveUI, quasar, vuetify].map((f) => {
125+
const prime: Flavor = {
126+
name: 'PrimeVue',
127+
description: 'cron editor for [PrimeVue](https://primevue.org/)',
128+
package: '@vue-js-cron/prime',
129+
dir: 'prime',
130+
css: '@vue-js-cron/prime/dist/prime.css',
131+
component: 'CronPrime',
132+
componentHypen: 'cron-prime',
133+
imports: ['primeicons/primeicons.css'],
134+
requirements: [{ name: 'PrimeVue', url: 'https://primevue.org/setup/' }],
135+
}
136+
137+
export const flavors = [core, light, ant, element, naiveUI, prime, quasar, vuetify].map((f) => {
126138
const packageName = f.package.replace(/[-@/]/g, '_')
127139

128140
f.api = [

generated/src/templates/getting-started.md.njk

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
# Getting Started - {{ flavor.name }}
33

44
The fastest way to get started, is to use one of the prebuilt components.
5+
56
{%- for f in flavors %}
67
{%- if f.name == flavor.name %}
78
- {{ f.componentHypen }} - {{ f.description }}
@@ -10,7 +11,7 @@ The fastest way to get started, is to use one of the prebuilt components.
1011
{%- endif %}
1112
{%- endfor %}
1213

13-
{%- if flavor.requirements %}
14+
{% if flavor.requirements %}
1415
## Requirements
1516

1617
Make sure to install and setup all requirements.

0 commit comments

Comments
 (0)