Happy-Coding-Clans / vue-easytable

A powerful data table based on vuejs. You can use it as data grid、Microsoft Excel or Google sheets. It supports virtual scroll、cell edit etc.
https://happy-coding-clans.github.io/vue-easytable/
MIT License
3.69k stars 738 forks source link

Support for the experimental syntax 'jsx' isn't currently enabled #435

Closed msslgomez closed 2 years ago

msslgomez commented 2 years ago

I installed it normally using npm install vue-easytable but when I try to use a Cell Custom I get this error? I'm using Laravel with Vue.

msslgomez commented 2 years ago

This is what I did to solve my error

Install this package: https://www.npmjs.com/package/@vue/babel-preset-jsx

Create a file babel.config.js in root of project and add the following inside

module.exports = {
    presets: ['@vue/babel-preset-jsx'],
  }
huangshuwei commented 2 years ago

Maybe you can try :https://github.com/vuejs/babel-plugin-transform-vue-jsx

huangshuwei commented 2 years ago

Hi, Has the problem been solved?

msslgomez commented 2 years ago

@huangshuwei Yes, Thank you!

huangshuwei commented 2 years ago

You are welcome