diff --git a/.eslintrc.cjs b/.eslintrc.cjs deleted file mode 100644 index aa6e87d..0000000 --- a/.eslintrc.cjs +++ /dev/null @@ -1,7 +0,0 @@ -/* eslint-env node */ -require('@rushstack/eslint-patch/modern-module-resolution'); - -module.exports = { - root: true, - extends: ['@kalimahapps'], -}; diff --git a/docs/.vitepress/config.mts b/docs/.vitepress/config.mts index 7ad7fba..b09ae7a 100644 --- a/docs/.vitepress/config.mts +++ b/docs/.vitepress/config.mts @@ -1,83 +1,99 @@ -import { defineConfig } from 'vitepress' +import { defineConfig } from 'vitepress'; // https://vitepress.dev/reference/site-config export default defineConfig({ - title: "Documentation", - description: "Documentation for VuePopper Dashboard", - base: "/docs/", + title: 'Documentation', + description: 'Documentation for VuePopper Dashboard', + base: '/docs/', themeConfig: { logo: './logo.svg', - siteTitle: "VuePopper", + siteTitle: 'VuePopper', outline: 'deep', socialLinks: [ - { icon: 'github', link: 'https://github.com/kalimah-apps' }, - { icon: 'twitter', link: 'https://twitter.com/KalimahApps' }, + { + icon: 'github', + link: 'https://github.com/kalimah-apps', + }, + { + icon: 'twitter', + link: 'https://twitter.com/KalimahApps', + }, ], nav: [ - { text: "Guide", link: "/guide/overview" }, - { text: "Changelog", link: "/changelog" }, - { text: "Links", link: "/links" }, + { + text: 'Guide', + link: '/guide/overview', + }, + { + text: 'Changelog', + link: '/changelog', + }, + { + text: 'Links', + link: '/links', + }, ], sidebar: [ { - text: "Getting started", + text: 'Getting started', collapsable: false, items: [ { - text: "Overview", - link: "/guide/overview", - }, { - text: "Installation", - link: "/guide/installation", + text: 'Overview', + link: '/guide/overview', }, { - text: "Usage", - link: "/guide/usage", + text: 'Installation', + link: '/guide/installation', + }, + { + text: 'Usage', + link: '/guide/usage', items: [ { - text: "Component", - link: "/guide/usage/component", + text: 'Component', + link: '/guide/usage/component', }, { - text: "Composition API", - link: "/guide/usage/composition-api", - } - ] + text: 'Composition API', + link: '/guide/usage/composition-api', + }, + ], }, { - text: "Defaults", - link: "/guide/defaults", + text: 'Defaults', + link: '/guide/defaults', }, ], }, { - text: "API", + text: 'API', collapsable: false, items: [ { - text: "Props & options", - link: "/guide/props-options", + text: 'Props & options', + link: '/guide/props-options', }, { - text: "Events", - link: "/guide/events", + text: 'Events', + link: '/guide/events', }, { - text: "Slots", - link: "/guide/slots", + text: 'Slots', + link: '/guide/slots', }, { - text: "Styling", - link: "/guide/styling", + text: 'Styling', + link: '/guide/styling', }, ], - } + }, ], footer: { - message: "Released under the MIT License.", + message: 'Released under the MIT License.', }, }, }); diff --git a/docs/.vitepress/theme/VuePopper.vue b/docs/.vitepress/theme/VuePopper.vue index 02a5deb..8a0ed19 100644 --- a/docs/.vitepress/theme/VuePopper.vue +++ b/docs/.vitepress/theme/VuePopper.vue @@ -7,7 +7,9 @@ - Hi, from vue-popper! 🍿 + + Hi, from vue-popper! 🍿 + @@ -15,12 +17,12 @@ diff --git a/docs/.vitepress/theme/index.js b/docs/.vitepress/theme/index.js index 4587d33..6349ff3 100644 --- a/docs/.vitepress/theme/index.js +++ b/docs/.vitepress/theme/index.js @@ -1,12 +1,12 @@ -import DefaultTheme from 'vitepress/theme' +import DefaultTheme from 'vitepress/theme'; import VuePopper from './VuePopper.vue'; import './custom.css'; export default { ...DefaultTheme, - enhanceApp(ctx) { - DefaultTheme.enhanceApp(ctx) - ctx.app.component('VuePopper', VuePopper) - } -} \ No newline at end of file + enhanceApp(context) { + DefaultTheme.enhanceApp(context); + context.app.component('VuePopper', VuePopper); + }, +}; \ No newline at end of file diff --git a/docs/components/VuePopperAnimations.vue b/docs/components/VuePopperAnimations.vue index 12c31e7..5ee1c23 100644 --- a/docs/components/VuePopperAnimations.vue +++ b/docs/components/VuePopperAnimations.vue @@ -1,11 +1,11 @@ - +