ADD: KnobConfig & KeyConfig
This commit is contained in:
@@ -4,12 +4,9 @@ import DevicePreview from '@/components/device/DevicePreview.vue'
|
||||
import ConfigPane from '@/components/config/ConfigPane.vue'
|
||||
import Navbar from '@/components/Navbar.vue'
|
||||
import { useStore } from '@/store'
|
||||
import { ref } from 'vue'
|
||||
|
||||
const store = useStore()
|
||||
|
||||
const currentConfigPage = ref(0)
|
||||
|
||||
store.fetchProfiles()
|
||||
|
||||
</script>
|
||||
@@ -20,10 +17,8 @@ store.fetchProfiles()
|
||||
<ProfileManager
|
||||
class="basis-1/3 min-w-60 flex-1 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-50" />
|
||||
<DevicePreview
|
||||
class="basis-1/3 flex-col flex-1 flex border-solid border-0 border-r"
|
||||
@select="currentConfigPage = (currentConfigPage+1)%4" />
|
||||
class="basis-1/3 flex-col flex-1 flex border-solid border-0 border-r" />
|
||||
<ConfigPane
|
||||
v-model="currentConfigPage"
|
||||
class="flex-1 basis-2/5 flex flex-col border-solid border-0 border-r bg-zinc-900 bg-opacity-50" />
|
||||
</div>
|
||||
</main>
|
||||
|
||||
Reference in New Issue
Block a user