mirror of
https://github.com/KevinMidboe/linguist.git
synced 2025-12-08 20:38:47 +00:00
add syntax highlight for *.vue component files
This commit is contained in:
21
samples/Vue/basic.vue
Normal file
21
samples/Vue/basic.vue
Normal 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>
|
||||
Reference in New Issue
Block a user