Skip to content

Releases: Raiyee/vue-template-es2015-loader

Hot Reload Correctly

15 Jan 08:49

Choose a tag to compare

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

Hot Reload Enabled!

13 Dec 04:03

Choose a tag to compare

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`

13 Dec 03:57

Choose a tag to compare

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

However it doesn't support hot-reload.