Skip to content

why v-memo doesn't work? #605

Answered by zhiyuanzmj
manyuemeiquqi asked this question in Q&A
Discussion options

You must be logged in to vote

Include option only support .setup.tsx | .setup.jsx | .vue by default.
You need to add .jsx to include option:

vueMacros({
  jsxDirective:{
    include: [/\.[jt]sx?$/, /\.vue$/]
  },
  plugins:{
    vue:vue(),
    vueJsx:vueJsx()
  }
}),

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@zhiyuanzmj
Comment options

Answer selected by manyuemeiquqi
@zhiyuanzmj
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants