christianalfoni / webpack-bin

A webpack code sandbox

Home Page:http://www.webpackbin.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

VueJS 2.0

xereda opened this issue · comments

Hello,

First I need to congratulate you for the excellent tool. The developer community thanks.

I have a question that can be an inconsistency.

The boilerplate for VueJS, if I change the npm package for version 2.0 of the Vue, does not work properly, right !? What should I do to work in version 2.0 of Vue?

Thanks for the feedback.

Jackson

I have same problem, here's the bin: http://www.webpackbin.com/4kPWU3j1f. However this tool awesome!

also having this problem, can't seem to figure out why : \

The problem is that since vue@2.0.1 main npm package export is set to runtime-only build.

As stated in the docs, runtime-only build doesn't support template option, it only supports render functions.

To make it work we should add an alias in Webpack config

resolve: {
  alias: {
    'vue$': 'vue/dist/vue.common.js'
  }
}

but AFAIK adding aliases is currently not possible as #78 is still open...