]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: format
authordaiwei <daiwei521@126.com>
Mon, 15 Sep 2025 02:18:59 +0000 (10:18 +0800)
committerdaiwei <daiwei521@126.com>
Mon, 15 Sep 2025 02:18:59 +0000 (10:18 +0800)
packages/runtime-test/README.md

index df0bd92b7b291ea28525d0c15f951894f6dce043..2252b7a7a067b95439348b78feb955a47c2110db 100644 (file)
@@ -8,14 +8,14 @@ It can also be used as a reference for implementing a custom renderer.
 import { h, render, nodeOps, dumpOps } from '@vue/runtime-test'
 
 const App = {
-  data () {
+  data() {
     return {
-      msg: 'Hello World!'
+      msg: 'Hello World!',
     }
   },
-  render () {
+  render() {
     return h('div', this.msg)
-  }
+  },
 }
 
 // root is of type `TestElement` as defined in src/nodeOps.ts