mirror of
https://github.com/antd-tiny-vue/antd-tiny-vue.git
synced 2025-07-04 02:53:14 +08:00
chore: add docs
This commit is contained in:
12
docs/index.html
Normal file
12
docs/index.html
Normal 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
5
docs/src/App.vue
Normal file
@ -0,0 +1,5 @@
|
||||
<script lang="ts" setup></script>
|
||||
|
||||
<template>
|
||||
<router-view />
|
||||
</template>
|
5
docs/src/main.ts
Normal file
5
docs/src/main.ts
Normal 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
7
docs/src/pages/index.vue
Normal file
@ -0,0 +1,7 @@
|
||||
<script lang="ts" setup></script>
|
||||
|
||||
<template>
|
||||
<div>
|
||||
<!-- -->
|
||||
</div>
|
||||
</template>
|
6
docs/vite.config.ts
Normal file
6
docs/vite.config.ts
Normal 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()]
|
||||
})
|
Reference in New Issue
Block a user