mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 15:15:19 +00:00
fix(nuxt): use buildAssetsDir
in island teleport dev chunk (#27469)
This commit is contained in:
parent
af65d59678
commit
c3deaec4b6
@ -43,7 +43,7 @@ export default defineComponent({
|
||||
const name = (slotType.__name || slotType.name) as string
|
||||
|
||||
islandContext.components[props.to] = {
|
||||
chunk: import.meta.dev ? '_nuxt/' + paths[name] : paths[name],
|
||||
chunk: import.meta.dev ? nuxtApp.$config.app.buildAssetsDir + paths[name] : paths[name],
|
||||
props: slot.props || {},
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user