Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

按需引入在jsx语法里不生效么 #41

Open
GamesSoul opened this issue Jun 8, 2022 · 3 comments
Open

按需引入在jsx语法里不生效么 #41

GamesSoul opened this issue Jun 8, 2022 · 3 comments

Comments

@GamesSoul
Copy link

GamesSoul commented Jun 8, 2022

如题,我在项目中只配置了vue的jsx写法并不让项目支持vue文件写法 导致这种按需引入实际上样式文件一个都不起效果
图片

@lovanya
Copy link

lovanya commented Sep 6, 2022

这样写试一下

Components(
  resolvers: [
   ElementPlusResolver({ importStyle: 'sass' })
 ]
)

@GamesSoul
Copy link
Author

这样写试一下

Components(
  resolvers: [
   ElementPlusResolver({ importStyle: 'sass' })
 ]
)

没效果

@lovanya
Copy link

lovanya commented Sep 6, 2022

我后面又去查了一下,看了官方的回答,这个插件好像是不支持jsx写法的

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants