Skip to content

Commit

Permalink
docs: 补充 CodeSandbox 示例项目
Browse files Browse the repository at this point in the history
  • Loading branch information
bhuh12 committed Aug 22, 2020
1 parent aaf64ed commit 83e19ae
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 15 deletions.
6 changes: 3 additions & 3 deletions docs/guide/essentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,12 +138,12 @@ export default new Router({

[**Github**](https://github.com/bhuh12/router-tab-sample)

<!-- [**CodeSandbox**](https://codesandbox.io/s/router-tab-sample-8vbj6)
[**CodeSandbox**](https://codesandbox.io/s/github/bhuh12/router-tab-sample)

<iframe
src="https://codesandbox.io/embed/router-tab-sample-8vbj6?fontsize=14&hidenavigation=1&theme=dark"
src="https://codesandbox.io/embed/github/bhuh12/router-tab-sample/tree/master/?fontsize=14&hidenavigation=1&theme=dark"
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="router-tab-sample"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe> -->
></iframe>
9 changes: 4 additions & 5 deletions docs/guide/essentials/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,12 @@ RouterTab only supports singleton mode, **do not** introduce multiple RouterTab

[**Github**](https://github.com/bhuh12/router-tab-nuxt-sample)

<!--
[**CodeSandbox**](https://codesandbox.io/s/router-tab-sample-8vbj6)
[**CodeSandbox**](https://codesandbox.io/s/github/bhuh12/router-tab-nuxt-sample)

<iframe
src="https://codesandbox.io/embed/router-tab-sample-8vbj6?fontsize=14&hidenavigation=1&theme=dark"
src="https://codesandbox.io/embed/github/bhuh12/router-tab-nuxt-sample/tree/master/?fontsize=14&hidenavigation=1&theme=dark"
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="router-tab-sample"
title="router-tab-nuxt-sample"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe> -->
></iframe>
8 changes: 5 additions & 3 deletions docs/zh/guide/essentials/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -135,14 +135,16 @@ export default new Router({

## 👨‍💻 示例项目

**router-tab-sample**

[**Github**](https://github.com/bhuh12/router-tab-sample)

<!-- [**CodeSandbox**](https://codesandbox.io/s/router-tab-sample-8vbj6)
[**CodeSandbox**](https://codesandbox.io/s/github/bhuh12/router-tab-sample)

<iframe
src="https://codesandbox.io/embed/router-tab-sample-8vbj6?fontsize=14&hidenavigation=1&theme=dark"
src="https://codesandbox.io/embed/github/bhuh12/router-tab-sample/tree/master/?fontsize=14&hidenavigation=1&theme=dark"
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="router-tab-sample"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe> -->
></iframe>
10 changes: 6 additions & 4 deletions docs/zh/guide/essentials/nuxt.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,14 +95,16 @@ RouterTab 仅支持单例模式,请勿在同一个页面中引入多个 Router

## 👨‍💻 示例项目

**router-tab-nuxt-sample**

[**Github**](https://github.com/bhuh12/router-tab-nuxt-sample)

<!-- [**CodeSandbox**](https://codesandbox.io/s/router-tab-sample-8vbj6)
[**CodeSandbox**](https://codesandbox.io/s/github/bhuh12/router-tab-nuxt-sample)

<iframe
src="https://codesandbox.io/embed/router-tab-sample-8vbj6?fontsize=14&hidenavigation=1&theme=dark"
src="https://codesandbox.io/embed/github/bhuh12/router-tab-nuxt-sample/tree/master/?fontsize=14&hidenavigation=1&theme=dark"
style="width:100%; height:500px; border:0; border-radius: 4px; overflow:hidden;"
title="router-tab-sample"
title="router-tab-nuxt-sample"
allow="geolocation; microphone; camera; midi; vr; accelerometer; gyroscope; payment; ambient-light-sensor; encrypted-media; usb"
sandbox="allow-modals allow-forms allow-popups allow-scripts allow-same-origin"
></iframe> -->
></iframe>

0 comments on commit 83e19ae

Please sign in to comment.