ktsn / vue-template-loader

Vue.js 2.0 template loader for webpack
MIT License
266 stars 26 forks source link

dynamic templates? #61

Open pancake-boy opened 4 years ago

pancake-boy commented 4 years ago

i'm trying to use this because i need to have dynamic templates. eg, 2 html files that can be switched at runtime for the same .vue file.

is this possible?

import WithRender from './test1.html'; <-- this needs to be able to point to test2.html dynamically