ant-ife / create-h5-app

Create web app (Vue.js) in seconds.
http://ant-ife.github.io/create-h5-app
11 stars 5 forks source link

add vue2 jsx support? #48

Open cdll opened 4 years ago

cdll commented 4 years ago

its very pleasure to start with npm init -y h5-app👍 but might jsx be used here directly without everytime manually adding

// package.json
{
  ...
  "devDependencies": {
    ...
    "@vue/babel-helper-vue-jsx-merge-props": "^1.0.0",
    "babel-plugin-syntax-jsx": "^6.18.0",
    "babel-plugin-transform-vue-jsx": "^4.0.1",
    ...
  }
  ...
}

and

// .babelrc
{
  ...
  "plugins": [
    ...
    "transform-vue-jsx"
  ],
  ...
}
cdll commented 4 years ago

is this template project no-more maintained?