Skip to content

Releases: Raiyee/vue-template-es2015-loader

Hot Reload Correctly

Choose a tag to compare

@JounQin JounQin released this 15 Jan 08:49

generate id according to this.resourcePath rather than module.id

Hot Reload Enabled!

Choose a tag to compare

@JounQin JounQin released this 13 Dec 04:03

A big change of usage makes it possible to hot reload your template!

// old

export default {
  ...require('/your/template/path'),
  // data, computed got here
}
// new

export default require('/your/template/path')({
  // data, computed got here
})

compile template with `vue-loader/lib/template-compiler`

Choose a tag to compare

@JounQin JounQin released this 13 Dec 03:57

It is very simple but useful loader to help you handle template specifically without .vue.

However it doesn't support hot-reload.