mitosis
mitosis copied to clipboard
"Could not replace node." added in vue-component
I am interested in helping provide a fix!
Yes
Which generators are impacted?
- [ ] All
- [ ] Angular
- [ ] HTML
- [ ] Preact
- [ ] Qwik
- [ ] React
- [ ] React-Native
- [ ] Solid
- [ ] Stencil
- [ ] Svelte
- [X] Vue
- [ ] Web components
Reproduction case
Expected Behaviour
Generated vue with:
<template>...
Actual Behaviour
It adds this in the header of the file:
Could not replace node.
<template>...
Additional Information
I can't reproduce it on mitosis.builder.io, only local, when transformed to vue, all other transformer work.
mitosis.builder.io wrote some console.log errors, but creates the file without the text.
What command are you running, and with what configuration locally that reproduces this issue?