vuexfire icon indicating copy to clipboard operation
vuexfire copied to clipboard

.babelrc

Open chrisbraddock opened this issue 8 years ago • 0 comments

Hey - thanks for this repo. It's helping me put together some mental puzzle pieces between Vue, Vuex, and Firebase. Webpack, on the other hand, I still have to do some serious reading up on - when I have a little more time.

That said, I wasn't able to get transpilation working when I ran npm run todomvc. I kept getting an unexpected token error on the first import statement.

By chance are you missing a .babelrc? Adding one to my project got me past the issue anyway.

{
  "presets": ["es2015", "stage-2"],
  "plugins": ["transform-runtime"],
  "comments": false
}

chrisbraddock avatar Nov 02 '16 16:11 chrisbraddock