mirror of
https://github.com/sunniejs/vue-h5-template.git
synced 2025-04-05 19:42:08 +08:00
docs: 更新文档
This commit is contained in:
parent
b402a994d7
commit
0ea5548ce4
@ -12,9 +12,8 @@ module.exports = {
|
||||
],
|
||||
themeConfig: {
|
||||
nav: nav(),
|
||||
sidebar: {
|
||||
"/guide/": menu,
|
||||
},
|
||||
sidebar: menu,
|
||||
|
||||
socialLinks: [
|
||||
{ icon: "github", link: "https://github.com/sunniejs/vue-h5-template" },
|
||||
],
|
||||
|
@ -1,6 +1,6 @@
|
||||
import preface from "./preface";
|
||||
import vue2 from "./vue2";
|
||||
import vue3 from "./vue3";
|
||||
// import question from "./question";
|
||||
import other from "./other";
|
||||
|
||||
export default [preface, vue3, vue2];
|
||||
export default [preface, vue3, vue2, other];
|
||||
|
6
docs/.vitepress/menu/other.js
Normal file
6
docs/.vitepress/menu/other.js
Normal file
@ -0,0 +1,6 @@
|
||||
export default {
|
||||
text: "其他",
|
||||
collapsible: true,
|
||||
collapsed: true,
|
||||
items: [{ text: "常见问题", link: "/guide/other/" }],
|
||||
};
|
@ -1,4 +0,0 @@
|
||||
export default {
|
||||
text: "常见问题",
|
||||
link: "/guide/question",
|
||||
};
|
11
docs/guide/other/index.md
Normal file
11
docs/guide/other/index.md
Normal file
@ -0,0 +1,11 @@
|
||||
### 1、为什么有多个组件库?
|
||||
|
||||
本模版想做到的是尽可能的开箱即用,不用去看别的文档引入相关组件库,毕竟做减法比做加法要容易些,如你不需要某个组件库可以根据[这篇指引](/guide/vue3/ui.html)去移除某个组件库
|
||||
|
||||
### 2、我可以用在个人或公司的项目吗?
|
||||
|
||||
模版基于 MIT License,你可以根据自己的需求用到不同的项目里,如果对你有帮助点个 star 支持一下呗 🌟
|
||||
|
||||
### 3、我是一个新手,有什么好的学习建议吗?
|
||||
|
||||
过来人的经验就是熟读文档可以少走很多弯路,很多的人文档没读熟就开始动手,出了问题也不知道如何去解决,墙裂建议先把[文档](https://cn.vuejs.org/)熟读
|
Loading…
x
Reference in New Issue
Block a user