add syntax highlight for *.vue component files

This commit is contained in:
Evan You
2015-07-21 18:51:55 -04:00
parent 07173d2238
commit 7b5d1c075d
6 changed files with 66 additions and 0 deletions

21
samples/Vue/basic.vue Normal file
View File

@@ -0,0 +1,21 @@
<style>
.red {
color: #f00;
}
</style>
<template>
<div>
<h2 v-class="red">{{msg}}</h2>
</div>
</template>
<script>
module.exports = {
data: function () {
return {
msg: 'Hello from Vue!'
}
}
}
</script>