wip
This commit is contained in:
@@ -1,22 +0,0 @@
|
|||||||
<script setup lang="ts">
|
|
||||||
import { JustList, JustListItem, JustNav } from '@/components/simple'
|
|
||||||
import { type SelectedMenu, useMenuStore } from '@/stores/menu.ts'
|
|
||||||
|
|
||||||
const menuStore = useMenuStore()
|
|
||||||
|
|
||||||
function onSelect(value: SelectedMenu) {
|
|
||||||
menuStore.selected = value
|
|
||||||
}
|
|
||||||
</script>
|
|
||||||
|
|
||||||
<template>
|
|
||||||
<JustNav>
|
|
||||||
<JustList>
|
|
||||||
<JustListItem value="users" icon="mdi-account" @click="onSelect" />
|
|
||||||
<JustListItem value="chats" icon="mdi-message" @click="onSelect" />
|
|
||||||
<JustListItem value="settings" icon="mdi-cog" @click="onSelect" />
|
|
||||||
</JustList>
|
|
||||||
</JustNav>
|
|
||||||
</template>
|
|
||||||
|
|
||||||
<style scoped></style>
|
|
||||||
@@ -14,7 +14,9 @@ export default defineConfig({
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
server: {
|
server: {
|
||||||
host: '0.0.0.0',
|
host: true,
|
||||||
|
port: 5173,
|
||||||
|
strictPort: true,
|
||||||
proxy: {
|
proxy: {
|
||||||
'/api': 'http://localhost:3000',
|
'/api': 'http://localhost:3000',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user