Permalink
Browse files

add vue-class-component mapping, example

  • Loading branch information...
xkam committed Jun 8, 2017
1 parent 9315837 commit 9928c410f15146a7a0c7473341fa2124e5dc9e8a
Showing with 13 additions and 0 deletions.
  1. +8 −0 config/vue.js
  2. +4 −0 examples/vue/ts/sfc-class/app.vue
  3. +1 −0 src/min.js
View
@@ -0,0 +1,8 @@
config({
map: {
'vue-class-component': 'vue-class-component/dist/vue-class-component.min.js'
}
});
@@ -8,7 +8,11 @@
<script>
import Vue from 'vue';
import Component from 'vue-class-component';
@Component({
name: 'hello'
})
export default class App extends Vue {
msg: string = 'Hello World!';
}
View
@@ -19,6 +19,7 @@
$import('config/lodash.js');
$import('config/react.js');
$import('config/rxjs.js');
$import('config/vue.js');
$import('config/zone.js');
$import('plugins/json.js');

0 comments on commit 9928c41

Please sign in to comment.