diff --git a/assets/menu/menu.json b/assets/menu/menu.json index 0cf664996..f2edd2eee 100644 --- a/assets/menu/menu.json +++ b/assets/menu/menu.json @@ -403,6 +403,10 @@ "name": "ProgressSpinner", "to": "/progressspinner" }, + { + "name": "Animate", + "to": "/animate" + }, { "name": "Ripple", "to": "/ripple" @@ -582,4 +586,4 @@ ] } ] -} +} \ No newline at end of file diff --git a/doc/animate/BasicDoc.vue b/doc/animate/BasicDoc.vue new file mode 100644 index 000000000..a0e840573 --- /dev/null +++ b/doc/animate/BasicDoc.vue @@ -0,0 +1,63 @@ + + + diff --git a/doc/animate/ImportDoc.vue b/doc/animate/ImportDoc.vue new file mode 100644 index 000000000..91a9bb45d --- /dev/null +++ b/doc/animate/ImportDoc.vue @@ -0,0 +1,20 @@ + + + diff --git a/pages/animate/index.vue b/pages/animate/index.vue new file mode 100644 index 000000000..b7009ba1d --- /dev/null +++ b/pages/animate/index.vue @@ -0,0 +1,27 @@ + + + diff --git a/plugins/primeVue.js b/plugins/primeVue.js index df11656d1..09f7b38a0 100644 --- a/plugins/primeVue.js +++ b/plugins/primeVue.js @@ -8,10 +8,12 @@ import DocSections from '@/components/doc/DocSections'; import DocSectionText from '@/components/doc/DocSectionText'; import CodeHighlight from '@/components/layout/CodeHighlight'; import DevelopmentSection from '@/components/layout/DevelopmentSection'; +import Animate from '@/components/lib/animate/Animate'; export default defineNuxtPlugin((nuxtApp) => { nuxtApp.vueApp.use(PrimeVue, { ripple: true }); + nuxtApp.vueApp.directive('animate', Animate); nuxtApp.vueApp.directive('code', CodeHighlight); nuxtApp.vueApp.component('DocSections', DocSections);