Created
September 12, 2019 15:57
-
-
Save jigarzon/87eb81696517a5167907e24b4aaed5ec to your computer and use it in GitHub Desktop.
This file contains hidden or 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
<template> | |
<q-card> | |
<q-card-section class="bg-primary text-white"> | |
<span class="text-h6">My Quasar component</span> | |
</q-card-section> | |
<q-card-section> | |
<q-form> | |
<q-input label="Hello" /> | |
<q-input label="Goodbye" /> | |
</q-form> | |
</q-card-section> | |
</q-card> | |
</template> | |
<script> | |
import { QCard, QCardSection, QForm, QInput, colors } from 'quasar' | |
export default { | |
components: { | |
QCard, | |
QCardSection, | |
QForm, | |
QInput | |
}, | |
created() { | |
colors.setBrand('primary', '#33F') | |
colors.setBrand('secondary', '#4f4') | |
} | |
} | |
</script> | |
<style lang="stylus"> | |
@import '../styles/quasar.styl'; | |
</style> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment