File tree Expand file tree Collapse file tree 4 files changed +69
-1
lines changed Expand file tree Collapse file tree 4 files changed +69
-1
lines changed Original file line number Diff line number Diff line change 11.DS_Store
2- sample.vue
Original file line number Diff line number Diff line change 1+ <!--
2+ This is a bug in the current implementation. Ideally should be fixed
3+ in a rewrite using sublime-syntax format.
4+ -->
5+
6+ <template >
7+ <div @click =" foo => foo()" ></div >
8+ </template >
Original file line number Diff line number Diff line change 1+ <!--
2+ Things to verify:
3+ - comments (this block) are properly highlighted
4+ - expressions are highlighted as JS
5+ - <script> highlights ES2015 syntax
6+ - <style> highlights as CSS
7+ -->
8+
9+ <template >
10+ <div >
11+ {{ foo * 10 + 'hi' }}
12+ <span
13+ v-text =" foo * 10 + 'hi'"
14+ :id =" foo + 'baz'"
15+ @click =" onClick('hello')" >
16+ Hello
17+ </span >
18+ </div >
19+ </template >
20+
21+ <script >
22+ export default {
23+ data : () => ({
24+ foo: ' bar'
25+ })
26+ }
27+ </script >
28+
29+ <style >
30+ div {
31+ color : red ;
32+ }
33+ </style >
Original file line number Diff line number Diff line change 1+ <!--
2+ Things to verify:
3+ - Langs are highlighted properly. Requires installing corresponding packages:
4+ - Stylus
5+ - Pug
6+ - Better CoffeeScript
7+ -->
8+
9+ <style lang="stylus">
10+ font-stack = Helvetica , sans-serif
11+ primary-color = #9 9 9
12+ body
13+ font 100% font-stack
14+ color primary-color
15+ </style >
16+
17+ <template lang="pug">
18+ div.app
19+ h1.title This is the app
20+ comp-a( foo ="bar" , :a =1 )
21+ comp-b( bar ="baz" , :a =234 )
22+ </template >
23+
24+ <script lang="coffee">
25+ module .exports =
26+ data : ->
27+ msg : ' Hello from coffee!'
28+ </script >
You can’t perform that action at this time.
0 commit comments