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

feat: fully support nvue #4

Open
2 of 6 tasks
KeJunMao opened this issue Nov 9, 2023 · 4 comments
Open
2 of 6 tasks

feat: fully support nvue #4

KeJunMao opened this issue Nov 9, 2023 · 4 comments
Assignees
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@KeJunMao
Copy link
Member

KeJunMao commented Nov 9, 2023

对问题的清晰和简明的描述

  • 基本支持
  • renderjs
  • template
  • 多 script lint fix 支持

推荐的解决方案

基于 eslint-plugin-vue 改一个出来? 但是这样又会多一套配置,也许扩展一下能支持就好了

替代方案

No response

额外上下文

看了下 vue-eslint-parser 大于 2 个 script node 直接只取第一个

检查

  • 遵循我们的 行为准则
  • 检查是否已经有一个要求相同功能的问题,以避免重复创建。
@KeJunMao KeJunMao added the good first issue Good for newcomers label Nov 9, 2023
@FliPPeDround
Copy link
Member

没写过nvue,他会写很多script 吗?
还有其他特殊的语法吗?没有的话似乎可以把后缀加上就好了
extraFileExtensions: ['.nvue']

@KeJunMao
Copy link
Member Author

KeJunMao commented Nov 9, 2023

没写过nvue,他会写很多script 吗? 还有其他特殊的语法吗?没有的话似乎可以把后缀加上就好了 extraFileExtensions: ['.nvue']

俺写的也不多, 它貌似不支持 setup,另外就是多了一个 renderjs

只加 .nvue 好像不行

@FliPPeDround
Copy link
Member

没写过nvue,他会写很多script 吗? 还有其他特殊的语法吗?没有的话似乎可以把后缀加上就好了 extraFileExtensions: ['.nvue']

俺写的也不多, 它貌似不支持 setup,另外就是多了一个 renderjs

只加 .nvue 好像不行

加上禁止写setup v-show,剩下的不知道了

@ModyQyW ModyQyW added enhancement New feature or request help wanted Extra attention is needed and removed good first issue Good for newcomers labels Aug 12, 2024
@ModyQyW
Copy link
Member

ModyQyW commented Aug 12, 2024

熟悉 nvue 和 uvue 的朋友欢迎 PR 或说明一下,非常感谢

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

3 participants