Skip to content

Commit

Permalink
package: add defineConfig for vitepress
Browse files Browse the repository at this point in the history
  • Loading branch information
jooy2 committed Jan 5, 2024
1 parent 75cc14f commit 3230d1b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"eslint.codeActionsOnSave.rules": null,
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"eslint.validate": [
"javascript"
Expand Down
5 changes: 3 additions & 2 deletions docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { generateSidebar } from 'vitepress-sidebar';
import { defineConfig } from 'vitepress';
import { name, description, repository, homepage } from '../../package.json';

// Ref: https://vitepress.vuejs.org/config/introduction
export default {
export default defineConfig({
title: name.toUpperCase(),
description,
outDir: '../dist',
Expand Down Expand Up @@ -36,4 +37,4 @@ export default {
],
socialLinks: [{ icon: 'github', link: repository.url.replace('.git', '') }]
}
};
});

0 comments on commit 3230d1b

Please sign in to comment.