前陣子幫公司完成了 Vue2 老專案升級。從 node10 升到 node16,並從 @rails/webpacker (webpack4) 成功遷移到了 vite。
@rails/webpacker
這篇文章大概分兩段,一個是標題的 Vue 裡面使用 jsx 會更優的案例分享。另一個是,我試著用 stackblitz codeflow 做 demo 時碰到的一些 vite + vue2 + ts + babel 相關坑點。
接續上一篇:[輕前端] Preact + htm without build tools
終於將 ALPHA Camp 的 Vue 選修課程給看完了。這邊稍微筆記一下課程以外,自己發現到的一些小技巧。
這幾天在研究 CSS 預處理器 Sass / SCSS。在安裝的部分碰到了點問題。稍微記錄一下。