Tinghuan Wang
Nov 7 · 1 min read

Vue get start

最近因為工作的關係終於要來認真學習vue 了,算是邊學邊紀錄寫網誌,也不知道是不是後來就懶得寫了XDD。

課程來源:Vue JS 2 — The Complete Guide

程式位置:vue_learn

Why Vue.js not React , Angular

因為更輕量,Vue的檔案更小,且執行速度更快

First Vue application

這只是一個簡單範例將Text render到Html,其中 el 和data 是保留字,el 表示要控制的元件。

監聽互動事件

在Vue中如果要監聽事件可以使用 v-on ,這邊當input 改變時,title的值會跟著改變,this 代表著vue object。

summer's life

程式 / 金融 / 閱讀

Tinghuan Wang

Written by

summer's life

程式 / 金融 / 閱讀

Welcome to a place where words matter. On Medium, smart voices and original ideas take center stage - with no ads in sight. Watch
Follow all the topics you care about, and we’ll deliver the best stories for you to your homepage and inbox. Explore
Get unlimited access to the best stories on Medium — and support writers while you’re at it. Just $5/month. Upgrade