-
-
Notifications
You must be signed in to change notification settings - Fork 886
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #1499 from ajv-validator/format-vue
chore: format older vue components
- Loading branch information
Showing
5 changed files
with
86 additions
and
80 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,29 +1,32 @@ | ||
<template> | ||
<ClientOnly> | ||
<span> | ||
<a class="github-button" | ||
<a | ||
class="github-button" | ||
href="https://github.com/ajv-validator/ajv" | ||
data-show-count="true" | ||
data-size="large" | ||
aria-label="Star ajv-validator/ajv on GitHub" | ||
>Star</a> | ||
> | ||
Star | ||
</a> | ||
</span> | ||
</ClientOnly> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
mounted() { | ||
let githubScript = document.createElement("script") | ||
githubScript.setAttribute("src", "https://buttons.github.io/buttons.js") | ||
document.head.appendChild(githubScript) | ||
} | ||
} | ||
export default { | ||
mounted() { | ||
let githubScript = document.createElement("script") | ||
githubScript.setAttribute("src", "https://buttons.github.io/buttons.js") | ||
document.head.appendChild(githubScript) | ||
}, | ||
} | ||
</script> | ||
|
||
<style scoped> | ||
span { | ||
vertical-align: -8px; | ||
padding-left: 20px; | ||
} | ||
span { | ||
vertical-align: -8px; | ||
padding-left: 20px; | ||
} | ||
</style> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters