chore: add docs

This commit is contained in:
zhuzhengjian
2023-04-08 10:08:35 +08:00
parent 163e29dfd1
commit bed231bfb2
11 changed files with 924 additions and 876 deletions

12
docs/index.html Normal file
View File

@ -0,0 +1,12 @@
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Antd Tiny Vue</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
</head>
<body>
<div id="app"></div>
<script type="module" src="/src/main.ts"></script>
</body>
</html>

5
docs/src/App.vue Normal file
View File

@ -0,0 +1,5 @@
<script lang="ts" setup></script>
<template>
<router-view />
</template>

5
docs/src/main.ts Normal file
View File

@ -0,0 +1,5 @@
import { createApp } from 'vue'
import App from './App.vue'
const app = createApp(App)
app.mount('#app')

7
docs/src/pages/index.vue Normal file
View File

@ -0,0 +1,7 @@
<script lang="ts" setup></script>
<template>
<div>
<!-- -->
</div>
</template>

6
docs/vite.config.ts Normal file
View File

@ -0,0 +1,6 @@
import { defineConfig } from 'vite'
import vueJsxPlugin from '@vitejs/plugin-vue-jsx'
import vue from '@vitejs/plugin-vue'
export default defineConfig({
plugins: [vue(), vueJsxPlugin()]
})