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 1bbd4d1 commit 86681e2Copy full SHA for 86681e2
src/index.ts
@@ -4,7 +4,7 @@ export { reactive } from '@vue/reactivity'
4
5
import { createApp } from './app'
6
7
-let s
8
-if ((s = document.currentScript) && s.hasAttribute('init')) {
+const s = document.currentScript
+if (s && s.hasAttribute('init')) {
9
createApp().mount()
10
}
0 commit comments