You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
This is my vue3 button component which created by vite
`
import { defineComponent } from 'vue'
const TpButton = defineComponent({
name: 'TpButton',
setup(props, { slots }) {
return () => (
button
)
}
})
export default TpButton
`
It can be used on Vue3 pages
But when i want to use this component in vuepress-vite,
it gives me a mistake like this:
So, what can i do for this mistake...please give me some helps
Or if you have VuePress solution for TSX , please show me
Beta Was this translation helpful? Give feedback.
All reactions