0
Like Suresh Velusamy said: try github.com/ducksoupdev/vue-webpack-typescript .
It works out of the box.
Instead of requiring the template file, just put the template inline. Works fine.
@Component({
template: `<div class="container content">
<div class="row">
<div class="content col-md-4">
<h1>
<strong>Thank you the fish
<span class="text-primary package">{{package}}</span>
</strong>
</h1>
<p>This project is running in
<strong class="mode">{{mode}} mode</strong>
</p>
<p>Make sure to follow the project on
<a :href="repo">GitHub</a> to stay up to date with the latest releases,
or contribute to the project by opening an issue
or making a pull-request!</p>
</div>
</div>
</div>`})
- [Vuejs]-Accessing object properties in Vue after loading in Sails app
- [Vuejs]-How to get index of changed array under $watch in vuejs
Source:stackexchange.com