Skip to content

Instantly share code, notes, and snippets.

@tahmidbintaslim
Created December 10, 2021 07:34
Show Gist options
  • Save tahmidbintaslim/ef0eac44c9cd23c24c427f4f6a5b3f9a to your computer and use it in GitHub Desktop.
Save tahmidbintaslim/ef0eac44c9cd23c24c427f4f6a5b3f9a to your computer and use it in GitHub Desktop.
Vue Dropdown Menu
<!DOCTYPE html>
<html>
<head>
<link href="https://fonts.googleapis.com/css?family=Roboto:100,300,400,500,700,900" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/@mdi/[email protected]/css/materialdesignicons.min.css" rel="stylesheet">
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/vuetify.min.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, minimal-ui">
</head>
<body>
<div id="app">
<v-app id="inspire">
<v-container fluid>
<v-row align="center">
<v-col
class="d-flex"
cols="12"
sm="6"
>
<v-select
:items="items"
label="Are you interested in developers, designers, or both?"
></v-select>
</v-col>
</v-row>
</v-container>
</v-app>
</div>
<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>
</body>
</html>
new Vue({
el: '#app',
vuetify: new Vuetify(),
data: () => ({
items: ['πŸŽ‰ Developers', 'πŸ±β€πŸ‘€ Designers', 'Developers and Designers'],
}),
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment