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

Cannot process jsx comments #46

Closed
JackFGreen opened this issue Feb 1, 2019 · 3 comments · Fixed by #48
Closed

Cannot process jsx comments #46

JackFGreen opened this issue Feb 1, 2019 · 3 comments · Fixed by #48

Comments

@JackFGreen
Copy link

Version

3.4.0

Reproduction link

https://github.com/JackFGreen/vue-demo-jsx

Environment info


Environment Info:

  System:
    OS: macOS 10.14.2
    CPU: (8) x64 Intel(R) Core(TM) i7-7820HQ CPU @ 2.90GHz
  Binaries:
    Node: 8.11.1 - ~/.nvm/versions/node/v8.11.1/bin/node
    Yarn: 1.3.2 - /usr/local/bin/yarn
    npm: 5.6.0 - ~/.nvm/versions/node/v8.11.1/bin/npm
  Browsers:
    Chrome: 71.0.3578.98
    Firefox: 64.0
    Safari: 12.0.2
  npmPackages:
    @vue/babel-helper-vue-jsx-merge-props:  1.0.0-beta.2
    @vue/babel-plugin-transform-vue-jsx:  1.0.0-beta.2
    @vue/babel-preset-app:  3.4.0
    @vue/babel-preset-jsx:  1.0.0-beta.2
    @vue/babel-sugar-functional-vue:  1.0.0-beta.2
    @vue/babel-sugar-inject-h:  1.0.0-beta.2
    @vue/babel-sugar-v-model:  1.0.0-beta.2
    @vue/babel-sugar-v-on:  1.0.0-beta.2
    @vue/cli-overlay:  3.4.0
    @vue/cli-plugin-babel: ^3.4.0 => 3.4.0
    @vue/cli-plugin-eslint: ^3.4.0 => 3.4.0
    @vue/cli-service: ^3.4.0 => 3.4.0
    @vue/cli-shared-utils:  3.4.0
    @vue/component-compiler-utils:  2.5.2
    @vue/preload-webpack-plugin:  1.1.0
    @vue/web-component-wrapper:  1.2.0
    eslint-plugin-vue: ^5.0.0 => 5.1.0
    vue: ^2.5.22 => 2.5.22
    vue-eslint-parser:  4.0.3
    vue-hot-reload-api:  2.3.1
    vue-loader:  15.6.2
    vue-style-loader:  4.1.2
    vue-template-compiler: ^2.5.21 => 2.5.22
    vue-template-es2015-compiler:  1.8.2
  npmGlobalPackages:
    @vue/cli: Not Found

Steps to reproduce

yarn serve

What is expected?

处理 jsx 注释

What is actually happening?

  1. yarn serve 不能处理 jsx 注释
  2. cd src && vue serve App.vue 能处理
@haoqunjiang
Copy link
Member

你提供的复现项目里并没有 jsx 代码

@JackFGreen
Copy link
Author

@sodatea 不好意思,忘记 push 了,刚刚更新了

@haoqunjiang haoqunjiang changed the title vue create 的项目 不能处理 jsx 注释,vue serve 可以 Cannot process jsx comments Feb 2, 2019
@haoqunjiang haoqunjiang transferred this issue from vuejs/vue-cli Feb 2, 2019
@skyrpex
Copy link

skyrpex commented Feb 8, 2019

I just wanted to say that these comments don't work for me neither.

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

Successfully merging a pull request may close this issue.

3 participants