docs: JSRunner doc update

This commit is contained in:
ZiuChen 2023-04-19 22:28:34 +08:00
parent 435a1d87d4
commit 471836f254
9 changed files with 52 additions and 3 deletions

View File

@ -19,6 +19,7 @@ export default defineConfig({
items: [
{ text: '超级剪贴板', link: '/project/ClipboardManager/' },
{ text: '超级Markdown', link: '/project/Markdown/' },
{ text: '超级JavaScript', link: '/project/JSRunner/' },
{ text: '超级分词', link: '/project/SmartWordBreak/' }
]
},
@ -51,6 +52,7 @@ export default defineConfig({
items: [
{ text: '超级剪贴板', link: '/project/ClipboardManager/' },
{ text: '超级Markdown', link: '/project/Markdown/' },
{ text: '超级JavaScript', link: '/project/JSRunner/' },
{ text: '超级分词', link: '/project/SmartWordBreak/' }
]
},

View File

@ -1,5 +1,5 @@
declare module '*.vue' {
import { ComponentOptions } from 'vue'
const componentOptions: ComponentOptions
export default componentOptions
import { defineComponent } from 'vue'
const component: ReturnType<typeof defineComponent>
export default component
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 304 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 436 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 440 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 302 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 16 KiB

View File

@ -0,0 +1,40 @@
---
title: 超级JavaScript
navbar: false
---
<script setup>
import url from './assets/logo.png'
import img1 from './assets/img1.png'
import img2 from './assets/img2.png'
import img3 from './assets/img3.png'
import img4 from './assets/img4.png'
const titleInfo = {
subTitle: '✨ JavaScript运行器 支持多种运行环境 快速验证代码逻辑',
logo: url,
linkList: [
{ content: '🚚 更新日志', target: './log/' },
]
}
const imgSliders = [
{ src: img1 },
{ src: img2 },
{ src: img3 },
{ src: img4 },
]
</script>
<Title v-bind="titleInfo" />
<br />
<ImgSlider :imgSliderList="imgSliders" />
## 🔰 开始使用
- 运行JavaScript代码 快速验证代码逻辑
- 支持切换NodeJS/浏览器运行环境
- `Ctrl/Command+R` 快速运行代码
- 支持代码回溯 实时记录代码运行历史
- 支持手动触发代码运行/实时运行代码
- 适配深色模式

View File

@ -0,0 +1,7 @@
# 更新日志
## v1.0.0
`2023-04-19`
- 插件发布