Skip to content

Commit f40fbc0

Browse files
committed
refactor: remove unused DisplayComponents and DisplayOutputComponents
1 parent 053aee3 commit f40fbc0

File tree

7 files changed

+3
-65
lines changed

7 files changed

+3
-65
lines changed

docs/.vitepress/config.mts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@ function nav() {
4646
return [
4747
{ text: 'Guide', link: '/guide/', activeMatch: '/guide/' },
4848
{ text: 'Advanced', link: '/advanced/', activeMatch: '/advanced/' },
49+
{ text: 'Components', link: '/component/', activeMatch: '/component/' },
4950
{
5051
text: 'Playground',
5152
link: 'https://formkit-primevue.netlify.app',
@@ -55,7 +56,7 @@ function nav() {
5556
items: [
5657
{
5758
text: 'PrimeVue',
58-
link: 'https://www.primefaces.org/primevue',
59+
link: 'https://primevue.org/',
5960
},
6061
{
6162
text: 'Formkit',

docs/.vitepress/theme/components/DisplayComponents.vue

Lines changed: 0 additions & 35 deletions
This file was deleted.

docs/.vitepress/theme/components/DisplayOutputComponents.vue

Lines changed: 0 additions & 21 deletions
This file was deleted.

docs/.vitepress/theme/index.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,14 @@
11
import type { Theme } from 'vitepress'
22
import type { App } from 'vue'
33
import DefaultTheme from 'vitepress/theme'
4-
import DisplayComponents from './components/DisplayComponents.vue'
54
import DisplayFormComponents from './components/DisplayFormComponents.vue'
6-
import DisplayOutputComponents from './components/DisplayOutputComponents.vue'
75
import Todo from './components/Todo.vue'
86
import 'uno.css'
97

108
export default {
119
...DefaultTheme,
1210
enhanceApp({ app }: { app: App }) {
1311
app.component('Todo', Todo)
14-
app.component('DisplayComponents', DisplayComponents)
15-
app.component('DisplayOutputComponents', DisplayOutputComponents)
1612
app.component('DisplayFormComponents', DisplayFormComponents)
1713
},
1814
} satisfies Theme

docs/guide/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Formkit PrimeVue
22

3-
**formkit-primevue** combines the [PrimeVue](https://www.primefaces.org/primevue) component framework (V4) with the validation power of [Formkit](https://formkit.com/) in your Vue/Nuxt application.
3+
**formkit-primevue** combines the [PrimeVue](https://primevue.org/) component framework (V4) with the validation power of [Formkit](https://formkit.com/) in your Vue/Nuxt application.
44

55
The main motivation for this project is to use Formkit Validation by Schema with form elements provided by PrimeVue.
66

docs/guide/inputs.md

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,5 +39,3 @@ Below is a list of all supported PrimeVue input components. Click on a component
3939
- [PrimeToggleButton](../component/PrimeToggleButton.md) ([Live Example](https://formkit-primevue.netlify.app/inputs/togglebutton))
4040
- [PrimeToggleSwitch](../component/PrimeToggleSwitch.md) ([Live Example](https://formkit-primevue.netlify.app/inputs/toggleswitch))
4141
- [PrimeTreeSelect](../component/PrimeTreeSelect.md) ([Live Example](https://formkit-primevue.netlify.app/inputs/treeselect))
42-
43-
<DisplayComponents :full="true" />

docs/guide/outputs.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,4 +40,3 @@ Below is a list of all supported PrimeVue output components. Click on a componen
4040
- [PrimeOutputReference](../component/PrimeOutputReference.md) ([Live Example](https://formkit-primevue.netlify.app/outputs/outputreference))
4141
- [PrimeOutputText](../component/PrimeOutputText.md) ([Live Example](https://formkit-primevue.netlify.app/outputs/outputtext))
4242

43-
<DisplayOutputComponents />

0 commit comments

Comments
 (0)