LastorinCode 隨筆放置場Vue3 在 Child 定義 Parent 的具名插槽 (Define named slots of Parent from Child Component)最近工作專案很常碰到這樣的需求,希望在 Dialog 或類似 Dialog 的額外視窗上面去跑一段 steps 流程。大概這種感覺:Sep 20Sep 20
LastorinCode 隨筆放置場Vite Library submodules 專案設置 for Typescript研究了一下坊間那些 npm packages 的這種 submodules exports 是怎麼做的。寫篇 Blog 記錄一下。Aug 3Aug 3
LastorinCode 隨筆放置場Vue2 從 Webpack4 遷移到 Vite前陣子幫公司完成了 Vue2 老專案升級。從 node10 升到 node16,並從 @rails/webpacker (webpack4) 成功遷移到了 vite。Oct 1, 20231Oct 1, 20231
LastorinCode 隨筆放置場從 Heroku 遷移至 Fly.io最近花了點時間,把以前跟別人一起做的 side project 練習作,從 Heroku 搬到 Fly.io 上。Aug 3, 2023Aug 3, 2023
LastorinCode 隨筆放置場Vue2 + ant-design jsx 使用案例這篇文章大概分兩段,一個是標題的 Vue 裡面使用 jsx 會更優的案例分享。另一個是,我試著用 stackblitz codeflow 做 demo 時碰到的一些 vite + vue2 + ts + babel 相關坑點。Jul 16, 2023Jul 16, 2023
LastorinCode 隨筆放置場Migration to Vue 2.7 ESlint error in <script setup>想將一個老 Vue2 專案升級到 v2.7,雖已安裝 @vue/composition-api,但還是想享受一下 Vue3 <script setup> 語法糖的寫法。Jun 10, 2023Jun 10, 2023