<template> <q-toolbar class="text-grey-4 q-mb-sm"> <q-space /> <q-input outlined color="grey-4" v-model="text" label="Type something here" dense class="q-mr-md large-input" /> <q-btn @click="startSearch" color="grey-5" class="q-mr-sm" >Search</q-btn> </q-toolbar> </template> <script> export default { // name: 'ComponentName', data () { return { text: "" }; }, methods: { startSearch () { this.$router.push("/search"); } } }; </script> <style> .search-inline-form { width: 80%; max-width: 1023px; z-index: 1; } .large-input { width: 50%; min-width: 200px; } </style>