We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d8ed639 commit cff1e78Copy full SHA for cff1e78
docs/features/hoist-static.md
@@ -38,10 +38,8 @@ export default {
38
39
## Magic Comments
40
41
-```vue twoslash
+```vue
42
<script setup lang="ts">
43
-const fn = () => 'AppFoo'
44
-
45
// A value that's even not a constant
46
const name = /* hoist-static */ fn()
47
defineOptions({
docs/zh-CN/features/hoist-static.md
@@ -38,11 +38,9 @@ export default {
## 魔法注释
-// 一个甚至不是常量的值
+// 甚至不是常量的值
48
name,
0 commit comments