-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: update eslint config and files format
- Loading branch information
1 parent
c8d7305
commit 12968d1
Showing
10 changed files
with
96 additions
and
83 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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.', | ||
}, | ||
}, | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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) | ||
} | ||
} | ||
enhanceApp(context) { | ||
DefaultTheme.enhanceApp(context); | ||
context.app.component('VuePopper', VuePopper); | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
import eslintConfig from '@kalimahapps/eslint-config'; | ||
export default [...eslintConfig]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
import { defineConfig } from 'vite' | ||
import vue from '@vitejs/plugin-vue' | ||
import { defineConfig } from 'vite'; | ||
import vue from '@vitejs/plugin-vue'; | ||
|
||
// https://vitejs.dev/config/ | ||
export default defineConfig({ | ||
plugins: [vue()], | ||
test: { | ||
globals: true, | ||
environment: 'jsdom', | ||
} | ||
}, | ||
}); |