官术网_书友最值得收藏!

  • Vue.js 2.x by Example
  • Mike Street
  • 150字
  • 2021-07-02 20:00:28

Summary

In this chapter, we looked at Vue HTML declarations, conditionally rendering our HTML and showing an alternative if required. We also put into practice what we learned about methods. Lastly, we built a filtering component for our table, allowing us to show active and inactive users, find users with specific names and emails, and filter out rows based on the balance.

Now we've got to a good point in our app, it's a good opportunity to take a look at our code to see if it can be optimized in any way. By optimizations, I mean reducing repetition, making the code simpler if possible, and abstracting logic out into smaller, readable, and reusable chunks.

In Chapter 3Optimizing Our App and Using Components to Display Data, we will optimize our code and look at Vue components as a way of separating out logic into separate segments and sections.

主站蜘蛛池模板: 江达县| 乌恰县| 浦县| 兰考县| 丹阳市| 大关县| 双牌县| 福建省| 山东| 梁河县| 章丘市| 镶黄旗| 宁远县| 汾阳市| 自治县| 赤壁市| 靖远县| 岳西县| 保靖县| 静乐县| 滁州市| 定陶县| 宁夏| 香河县| 鹤壁市| 海安县| 淳安县| 南安市| 宜黄县| 高安市| 青州市| 清流县| 四平市| 习水县| 长阳| 靖西县| 北碚区| 罗田县| 沁源县| 淳安县| 榆社县|