{{ theme }}+ +### Page Data +
{{ page }}+ +### Page Frontmatter +
{{ frontmatter }}+``` + + + +## Results + +### Theme Data +
{{ theme }}+ +### Page Data +
{{ page }}+ +### Page Frontmatter +
{{ frontmatter }}+ +## More + +Check out the documentation for the [full list of runtime APIs](https://vitepress.dev/reference/runtime-api#usedata). diff --git a/packages/mobile-ui-vue/docs/assets/farris_design_dark.png b/packages/mobile-ui-vue/docs/assets/farris_design_dark.png new file mode 100644 index 0000000000000000000000000000000000000000..cba7c29f887f770cd577967304b719edd743d488 Binary files /dev/null and b/packages/mobile-ui-vue/docs/assets/farris_design_dark.png differ diff --git a/packages/mobile-ui-vue/docs/assets/farris_design_light.png b/packages/mobile-ui-vue/docs/assets/farris_design_light.png new file mode 100644 index 0000000000000000000000000000000000000000..bdce3482e283bec8e6f0a8ed55c4890ae70d2bbb Binary files /dev/null and b/packages/mobile-ui-vue/docs/assets/farris_design_light.png differ diff --git a/packages/mobile-ui-vue/docs/index.md b/packages/mobile-ui-vue/docs/index.md new file mode 100644 index 0000000000000000000000000000000000000000..200f31d93eb8546ec08bb468c3d80a98b5047289 --- /dev/null +++ b/packages/mobile-ui-vue/docs/index.md @@ -0,0 +1,25 @@ +--- +# https://vitepress.dev/reference/default-theme-home-page +layout: home + +hero: + name: "Farris Design Mobile" + text: "By Vue3" + tagline: Farris移动端组件库 + actions: + - theme: brand + text: 快速开始 + link: /markdown-examples + - theme: alt + text: 文档 + link: /api-examples + +features: + - title: Feature A + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit + - title: Feature B + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit + - title: Feature C + details: Lorem ipsum dolor sit amet, consectetur adipiscing elit +--- + diff --git a/packages/mobile-ui-vue/docs/markdown-examples.md b/packages/mobile-ui-vue/docs/markdown-examples.md new file mode 100644 index 0000000000000000000000000000000000000000..f9258a5503610e768817fe650aa5eab3ddacd514 --- /dev/null +++ b/packages/mobile-ui-vue/docs/markdown-examples.md @@ -0,0 +1,85 @@ +# Markdown Extension Examples + +This page demonstrates some of the built-in markdown extensions provided by VitePress. + +## Syntax Highlighting + +VitePress provides Syntax Highlighting powered by [Shiki](https://github.com/shikijs/shiki), with additional features like line-highlighting: + +**Input** + +````md +```js{4} +export default { + data () { + return { + msg: 'Highlighted!' + } + } +} +``` +```` + +**Output** + +```js{4} +export default { + data () { + return { + msg: 'Highlighted!' + } + } +} +``` + +## Custom Containers + +**Input** + +```md +::: info +This is an info box. +::: + +::: tip +This is a tip. +::: + +::: warning +This is a warning. +::: + +::: danger +This is a dangerous warning. +::: + +::: details +This is a details block. +::: +``` + +**Output** + +::: info +This is an info box. +::: + +::: tip +This is a tip. +::: + +::: warning +This is a warning. +::: + +::: danger +This is a dangerous warning. +::: + +::: details +This is a details block. +::: + +## More + +Check out the documentation for the [full list of markdown extensions](https://vitepress.dev/guide/markdown). diff --git a/packages/mobile-ui-vue/docs/vite.config.ts b/packages/mobile-ui-vue/docs/vite.config.ts new file mode 100644 index 0000000000000000000000000000000000000000..a8065bb836df03f8e08e7769973d6941f58e972c --- /dev/null +++ b/packages/mobile-ui-vue/docs/vite.config.ts @@ -0,0 +1,12 @@ +import { defineConfig } from 'vite'; +import vueJsx from '@vitejs/plugin-vue-jsx'; +import svgLoader from 'vite-svg-loader'; + +export default defineConfig({ + plugins: [vueJsx({}), svgLoader()], + server: { + fs: { + strict: false + } + } +}); diff --git a/packages/mobile-ui-vue/index.html b/packages/mobile-ui-vue/index.html new file mode 100644 index 0000000000000000000000000000000000000000..f5a88564284140f6a0e2d1d37d7450600afd6c3e --- /dev/null +++ b/packages/mobile-ui-vue/index.html @@ -0,0 +1,24 @@ + + + + + + + + +