tokei/tests/data/vue.vue
Nick Hackman 89f1fde9d3
Vue test (#523)
* Fixed bug in Vue Counting Comments

Didn't support Javascript multi line comments or Javascript single line
comments, removed duplicate quotes

* Added Vue Test

* Trigger Rebuild

* Removed Prettier formatting

* Fixed typo, closing ] in multi_line_comments
2020-05-18 18:26:25 +02:00

36 lines
509 B
Vue

<!-- 36 lines, 24 code, 9 comments, 3 blanks -->
<template>
<div id="app">
<button v-on:click="clicked">
<!-- Button that increments count -->
Clicked {{ count }} {{ count == 1 ? "time" : "times" }}
</button>
</div>
</template>
<script>
/*
Javascript Section
*/
// Single line
export default {
data() {
return {
count: 0,
};
},
clicked() {
this.count++;
},
};
</script>
<style>
/*
Styling Section
*/
button {
background-color: darkorange;
}
</style>