Круглицкий Никита Витальевич e53c007293 Initial commit
2025-11-20 20:59:38 +06:00

32 lines
596 B
Vue

<template>
<div class="index-page">
<div class="index-page__content">
<input v-model="diagramId" type="text" placeholder="Введите ID диаграммы">
<button @click="$router.push(`/${diagramId}`)">
Редактировать
</button>
</div>
</div>
</template>
<script setup lang="ts">
import { ref } from 'vue'
const diagramId = ref('')
</script>
<style lang="scss">
.index-page {
display: flex;
height: 100%;
&__content {
margin: auto;
width: 400px;
display: flex;
flex-direction: column;
gap: 16px;
}
}
</style>