- Vue.js 2.x by Example
- Mike Street
- 127字
- 2021-07-02 20:00:28
Optimizing your App and Using Components to Display Data
In Chapter 2, Displaying, Looping, Searching, and Filtering Data, we got our Vue app displaying our people directory, we can use this opportunity to optimize our code and separate it out into components. This makes the code more manageable, easier to understand, and makes it easier for other developers to work out the flow of data (or you, when you come back and look at your code in a few months!).
This chapter is going to cover:
- Optimizing our Vue.js code by reducing the repetition, and logically organizing our code
- How to create Vue components and use them with Vue
- How to use props and slots with components
- Utilizing events to transfer data between components
推薦閱讀
- Python爬蟲(chóng)開(kāi)發(fā):從入門(mén)到實(shí)戰(zhàn)(微課版)
- R語(yǔ)言游戲數(shù)據(jù)分析與挖掘
- C#程序設(shè)計(jì)基礎(chǔ):教程、實(shí)驗(yàn)、習(xí)題
- C語(yǔ)言開(kāi)發(fā)基礎(chǔ)教程(Dev-C++)(第2版)
- 動(dòng)手學(xué)數(shù)據(jù)結(jié)構(gòu)與算法
- 計(jì)算機(jī)應(yīng)用基礎(chǔ)案例教程
- Exploring SE for Android
- Instant GLEW
- 數(shù)字媒體技術(shù)概論
- 程序員必會(huì)的40種算法
- 體驗(yàn)之道:從需求到實(shí)踐的用戶(hù)體驗(yàn)實(shí)戰(zhàn)
- 軟件測(cè)試技術(shù)
- Python計(jì)算機(jī)視覺(jué)與深度學(xué)習(xí)實(shí)戰(zhàn)
- Learning ROS for Robotics Programming
- AngularJS Web Application Development Cookbook