chore: add todo and go to sleep

This commit is contained in:
julien huang 2023-08-11 00:38:49 +02:00
parent 202fe052f0
commit 00da0217ac

View File

@ -1,6 +1,7 @@
import { relative } from 'node:path' import { relative } from 'node:path'
import { Teleport, defineComponent, h } from 'vue' import { Teleport, defineComponent, h } from 'vue'
import { useNuxtApp } from '#app' import { useNuxtApp } from '#app'
// todo import manifest in production
/** /**
* component only used with componentsIsland * component only used with componentsIsland
@ -36,6 +37,7 @@ export default defineComponent({
islandContext.chunks[slot.type.__name] = path islandContext.chunks[slot.type.__name] = path
} }
// todo chunk path in production
islandContext.propsData[props.to] = slot.props || {} islandContext.propsData[props.to] = slot.props || {}
// todo set prop in payload // todo set prop in payload
return () => { return () => {