1
1
mirror of https://github.com/aelve/guide.git synced 2024-12-23 12:52:31 +03:00

Whitespace configured (#292)

This commit is contained in:
avele 2019-05-18 19:54:39 +04:00 committed by GitHub
parent eaa967cec6
commit d3c2eaa7fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 5 deletions

View File

@ -40,7 +40,7 @@ const config = {
loader: 'vue-loader',
options: {
compilerOptions: {
preserveWhitespace: false
whitespace: 'condense'
}
}
}

View File

@ -13,18 +13,18 @@
@click.stop=""
>
<v-toolbar-title class="headline">
<!-- TODO change markup formatting after resolving issue with extra spaces
(if closing tag on another line vue-template-compiler adds extra space) -->
<router-link
:to="{hash:`item-${itemUid}`}"
class="category-item-anchor"
>#</router-link>
&nbsp;
<a-link
v-if="itemLink"
:url="itemLink"
openInNewTab
>
{{ itemName }}</a-link>
{{ itemName }}
</a-link>
<span v-else> {{ itemName }} </span>
</v-toolbar-title>
<v-spacer></v-spacer>

View File

@ -40,7 +40,6 @@
openInNewTab
:url="`http://guide.aelve.com:4801/haskell/${result.contents.category.id}#item-${result.contents.info.id}`"
>
<!-- Do not format next line to separate lines cause it adds extra space after </a-link>. -->
{{ result.contents.info.name }}</a-link>'s ecosystem
</span>
</span>