mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Initial commit
This commit is contained in:
commit
cb002f4f27
50 changed files with 4666 additions and 0 deletions
57
docs/.vitepress/config.ts
Normal file
57
docs/.vitepress/config.ts
Normal file
|
|
@ -0,0 +1,57 @@
|
|||
import { defineConfig } from "vitepress"
|
||||
|
||||
// https://vitepress.dev/reference/site-config
|
||||
export default defineConfig({
|
||||
title: "Vide",
|
||||
description: "A declarative and reactive library for Luau.",
|
||||
base: "/vide/",
|
||||
themeConfig: {
|
||||
// https://vitepress.dev/reference/default-theme-config
|
||||
nav: [
|
||||
{ text: "Home", link: "/" },
|
||||
{ text: "Tutorials", link: "/tut/crash-course/1-introduction" },
|
||||
{ text: "API", link: "/api/reactivity-core"},
|
||||
{ text: "GitHub", link: "https://github.com/centau/vide" }
|
||||
],
|
||||
|
||||
sidebar: {
|
||||
"/api/": [
|
||||
{
|
||||
text: "API",
|
||||
items: [
|
||||
{ text: "Reactivity: Core", link: "/api/reactivity-core" },
|
||||
{ text: "Reactivity: Utility", link: "/api/reactivity-utility" },
|
||||
{ text: "Element Creation", link: "/api/creation" },
|
||||
{ text: "Animation", link: "/api/animation" },
|
||||
{ text: "Strict Mode", link: "/api/strict-mode" },
|
||||
]
|
||||
}
|
||||
],
|
||||
|
||||
"/tut/": [
|
||||
{
|
||||
text: "Crash Course",
|
||||
items: [
|
||||
{ text: "Introduction", link: "/tut/crash-course/1-introduction" },
|
||||
{ text: "Element Creation", link: "/tut/crash-course/2-creation" },
|
||||
{ text: "Components", link: "/tut/crash-course/3-components" },
|
||||
{ text: "State", link: "/tut/crash-course/4-state" },
|
||||
{ text: "Derived State", link: "/tut/crash-course/5-derived-state" },
|
||||
{ text: "Table State", link: "/tut/crash-course/6-table-state" },
|
||||
{ text: "Property Groups", link: "/tut/crash-course/7-property-groups" },
|
||||
]
|
||||
},
|
||||
{
|
||||
text: "Tutorials",
|
||||
items: [
|
||||
{ text: "Crash Course", link: "/tut/crash-course/index" },
|
||||
]
|
||||
}
|
||||
],
|
||||
}
|
||||
|
||||
// socialLinks: [
|
||||
// { icon: "github", link: "https://github.com/centau/vide" }
|
||||
// ]
|
||||
}
|
||||
})
|
||||
Loading…
Add table
Add a link
Reference in a new issue