Skip to content

Commit 73c4c1e

Browse files
author
Haoran
committed
feat: setup vitepress
1 parent 11e677f commit 73c4c1e

File tree

7 files changed

+2012
-0
lines changed

7 files changed

+2012
-0
lines changed

.eslintrc.js

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
module.exports = {
2+
env: {
3+
browser: true,
4+
es2021: true,
5+
node: true,
6+
},
7+
extends: ['eslint:recommended', 'plugin:vue/vue3-recommended', 'prettier'],
8+
parserOptions: {
9+
ecmaVersion: 12,
10+
sourceType: 'module',
11+
},
12+
rules: {},
13+
}

.gitignore

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
node_modules
2+
dist
3+
4+
# MacOS
5+
.DS_Store

.prettierrc.js

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
module.exports = {
2+
semi: false,
3+
singleQuote: true,
4+
trailingComma: 'es5',
5+
arrowParens: 'always',
6+
}

docs/.vitepress/config.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
title: 'Hello VitePress',
3+
description: 'Just playing around.',
4+
}

docs/index.md

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# Hello VitePress

package.json

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
{
2+
"name": "vitepress-tailwind-documentation",
3+
"version": "0.0.1",
4+
"description": "Tailwind CSS documentation site clone with Vitepress",
5+
"repository": "https://github.com/haoranpb/vitepress-tailwind-documentation.git",
6+
"author": "Haoran <[email protected]>",
7+
"license": "MIT",
8+
"private": true,
9+
"scripts": {
10+
"dev": "vitepress dev docs",
11+
"build": "vitepress build docs",
12+
"serve": "vitepress serve docs"
13+
},
14+
"dependencies": {
15+
"vitepress": "^0.13.2"
16+
},
17+
"devDependencies": {
18+
"eslint": "^7.25.0",
19+
"eslint-config-prettier": "^8.3.0",
20+
"eslint-plugin-vue": "^7.9.0",
21+
"prettier": "^2.2.1"
22+
}
23+
}

0 commit comments

Comments
 (0)