2022-05-04から1日間の記事一覧

【Vue.js+TypeScript】Vue Routerによるページ遷移

以下の記事を参考にさせていただきページ遷移ができるようになった。 note.com Vue Routerをインストールする。 npm install vue-router@4 router.ts import {createRouter, createWebHistory} from 'vue-router'; import TopView from "./pages/TopView.vue…

【Vue.js+TypeScript】Vueコンポーネント

足し算、引き算をするVueコンポーネントのサンプル。 MuButton.vue <script setup lang="ts"> import {ref} from 'vue' const count = ref(0) const increment = () => { count.value++ } const decrement = () => { if (count.value == 0) { return } count.value-- } </script> <template> <h1>{{ count }}</h1> </template>

【Learning Domain-Driven Design】英単語メモ

読めなかった英単語のメモ。 いつ、どこでその単語に遭遇して調べたのかメモしていく。 Learning Domain-Driven Design Preface 2022/5/4(水) Preface: 序文 ecstatic: 夢中の、有頂天の move on to: 乗り換える straightforward: まっすぐな、率直な、簡単…