Use vuejs in packages


#1

Hi there,

I’am trying to use vuejs as ui lib for an atom package. The biggest problem for me is to compile single file components in vue or jsx style and use them in atom. Does any one has some experience?

Kind Regards,
Chris


#2

Nevermind. I found a solution. I use webpack now and create a library with the following settings:

entry: "./lib/main.coffee",
output: {
  path: "./lib/",
  filename: "main.js",
  library: "app",
  libraryTarget: "commonjs2"
},
devtool: 'inline-source-map',
target: 'electron-renderer',

So its possible to use vue with atom. :sunglasses: