vue.js

For Personal Use...

启动方式

cd vue-proj

npm serve


Component:





notice <div id = "app"> 这里用的是<script>区域define的component app. 
















Vue Forms Tutorial - Capturing and Validating User Input


















Routing:













A directive’s job is to reactively apply side effects to the DOM when the value of its expression changes

推荐阅读更多精彩内容