mirror of
https://github.com/ZiuChen/ZiuChen.github.io.git
synced 2025-08-17 23:19:55 +08:00
docs: JSRunner doc update
This commit is contained in:
parent
fb10a9013b
commit
c69a6e5b00
@ -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/' }
|
||||
]
|
||||
},
|
||||
|
6
docs/.vitepress/type.d.ts
vendored
6
docs/.vitepress/type.d.ts
vendored
@ -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
|
||||
}
|
||||
|
BIN
docs/project/JSRunner/assets/img1.png
Normal file
BIN
docs/project/JSRunner/assets/img1.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 304 KiB |
BIN
docs/project/JSRunner/assets/img2.png
Normal file
BIN
docs/project/JSRunner/assets/img2.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 436 KiB |
BIN
docs/project/JSRunner/assets/img3.png
Normal file
BIN
docs/project/JSRunner/assets/img3.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 440 KiB |
BIN
docs/project/JSRunner/assets/img4.png
Normal file
BIN
docs/project/JSRunner/assets/img4.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 302 KiB |
BIN
docs/project/JSRunner/assets/logo.png
Normal file
BIN
docs/project/JSRunner/assets/logo.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 16 KiB |
40
docs/project/JSRunner/index.md
Normal file
40
docs/project/JSRunner/index.md
Normal 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` 快速运行代码
|
||||
- 支持代码回溯 实时记录代码运行历史
|
||||
- 支持手动触发代码运行/实时运行代码
|
||||
- 适配深色模式
|
7
docs/project/JSRunner/log/index.md
Normal file
7
docs/project/JSRunner/log/index.md
Normal file
@ -0,0 +1,7 @@
|
||||
# 更新日志
|
||||
|
||||
## v1.0.0
|
||||
|
||||
`2023-04-19`
|
||||
|
||||
- 插件发布
|
Loading…
x
Reference in New Issue
Block a user