push
This commit is contained in:
4
lib/component/VNode/index.ts
Normal file
4
lib/component/VNode/index.ts
Normal file
@@ -0,0 +1,4 @@
|
||||
import VNode from './v-node';
|
||||
import { withInstall } from '/nerv-lib/util';
|
||||
|
||||
export const NsVNode = withInstall(VNode);
|
||||
13
lib/component/VNode/v-node.ts
Normal file
13
lib/component/VNode/v-node.ts
Normal file
@@ -0,0 +1,13 @@
|
||||
import { defineComponent } from 'vue';
|
||||
|
||||
export default defineComponent({
|
||||
name: 'NsVNode',
|
||||
props: {
|
||||
content: {
|
||||
type: [Object, String],
|
||||
},
|
||||
},
|
||||
render() {
|
||||
return this.content;
|
||||
},
|
||||
});
|
||||
Reference in New Issue
Block a user