wiki.techinc.nl/tests/phpunit/data/resourceloader/vue-component.vue
Roan Kattouw bed84e3281 build: Provide linting for .vue files from upstream
Was first attempted in f1eaa06d5e,
and reverted in 0b3fe4fe8c. Now this
is done in eslint-config-wikimedia for all repos.

Change-Id: I9ee735eef40085b6373b565838d67e186e438657
2020-04-15 17:40:31 -07:00

34 lines
403 B
Vue

<template>
<!-- Outer comment -->
<div class="mw-vue-test">
<!--
Inner comment
with multiple lines
and tabs
-->
<p>Hello\n</p>
<p>{{ hello }}</p>
<pre>
foo\
bar
</pre>
</div>
</template>
<script>
module.exports = {
data: function () {
return {
hello: 'world'
};
}
};
</script>
<style lang="less">
.mw-vue-test {
&:hover {
background-color: red;
}
}
</style>