修改插件的实现和文档

This commit is contained in:
编码猿
2025-09-19 13:01:26 +08:00
parent 79a0c9a451
commit b3718c4097
10 changed files with 130 additions and 120 deletions

View File

@@ -1,11 +1,24 @@
import { defineComponent } from 'vue'
// import { defineComponent } from 'vue'
//
// export default defineComponent({
// setup() {
// return () => (
// <div class="404">
// <h1>404</h1>
// </div>
// )
// }
// })
export default defineComponent({
setup() {
return () => (
import { Component, Vue } from 'vue-facing-decorator'
@Component()
export default class About extends Vue {
render() {
return (
<div class="404">
<h1>404</h1>
</div>
)
}
})
}