A Pen by Juan Davila on CodePen.
Created
September 29, 2020 14:23
-
-
Save ot-johnny-davila/ea74742e882645321d724c6d2319b941 to your computer and use it in GitHub Desktop.
Vuetify Template
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
<script type="text/x-template" id="app-template"> | |
<v-app> | |
<v-container> | |
<v-slider | |
v-model="value" | |
step="10" | |
ticks="always" | |
tick-size="4" | |
label="Bugs" | |
/> | |
<v-slider | |
v-model="value2" | |
step="10" | |
ticks="always" | |
tick-size="4" | |
label="Scale" | |
/> | |
<v-checkbox label="Unit Tests" dense></v-checkbox> | |
<v-checkbox label="Load Testing" dense></v-checkbox> | |
<v-checkbox label="Documentation" dense></v-checkbox> | |
<v-btn color="primary" elevation="2" @click="buttonClick"> | |
<v-icon left dark>mdi-floppy</v-icon> | |
Compile | |
</v-btn> | |
</v-container> | |
</v-app> | |
</script> | |
<div id="app"></div> |
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
// Looking for the v1.5 template? | |
// https://codepen.io/pen?template=GVoaNe | |
const App = { | |
template: '#app-template', | |
data: () => ({ | |
value: 0, | |
value2: 0 | |
}), | |
computed:{}, | |
methods: { | |
buttonClick(){ | |
window.alert("Just Kidding") | |
} | |
} | |
} | |
new Vue({ | |
vuetify: new Vuetify(), | |
render: h => h(App) | |
}).$mount('#app') |
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
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vue.js"></script> | |
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.js"></script> |
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
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet" /> | |
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet" /> | |
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet" /> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment