Browse Source

feat: update README and configuration for Vaguer, add new guide documentation

plus
谢亚昕 1 week ago
parent
commit
8a6e18562f
  1. 10
      docs/.vuepress/config.ts
  2. 4
      docs/README.md
  3. 29
      docs/guide/README.md
  4. 1
      docs/guide/vue/README.md
  5. 1
      docs/guide/vue/test01.md

10
docs/.vuepress/config.ts

@ -1,5 +1,11 @@
import path from 'path'
export default {
base: "./",
title: 'Vaguer',
plugins: ['demo-container'],
themeConfig: {
nav: [
{ text: 'Home', link: '/' }
],
sidebar: {}
}
}

4
docs/README.md

@ -1,6 +1,6 @@
# Hello VuePressasd
# Hello Vaguer
组件展示
Vue2组件展示
::: demo 此处放置代码示例的描述信息,支持 `Markdown` 语法,**描述信息只支持单行**
```html

29
docs/guide/README.md

@ -0,0 +1,29 @@
# Hello VuePressasd
组件展示
::: demo 此处放置代码示例的描述信息,支持 `Markdown` 语法,**描述信息只支持单行**
```html
<template>
<div class="red-center-text">
<VaguerButton>{{ message }}</VaguerButton>
<input v-model="message" placeholder="Input something..."/>
</div>
</template>
<script>
export default {
data() {
return {
message: 'Hello Vue'
}
}
}
</script>
<style>
.red-center-text {
color: #ff7875;
text-align: center;
}
</style>
```
:::

1
docs/guide/vue/README.md

@ -0,0 +1 @@
fuck

1
docs/guide/vue/test01.md

@ -0,0 +1 @@
# sda
Loading…
Cancel
Save