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

Project 1 - Markdown Notebook

The first app we will create is a markdown notebook, using several Vue features in a step-by-step manner. We will reuse what we saw in Chapter 1, Getting Started with Vue, and add more elements on top of it, such as useful directives, events for user interaction, more instance options, and filters to process values.

Before we start writing the code, let's talk about the app and review our objectives:

  • The notebook app will allow the user to write notes in markdown
  • The markdown will be previewed in real time
  • The users will be able to add as many notes as they want
  • The notes will be restored the next time the user visits the app

To do that, we will pide the user interface into three sections:

  • A main section in the middle with the note editor
  • A right pane, which previews the markdown of the current node
  • A left pane, with the list of notes and a button to add a new one

Here is what it will look like at the end of the chapter:

主站蜘蛛池模板: 莱芜市| 拉萨市| 永寿县| 花莲县| 阜城县| 永平县| 建湖县| 荔波县| 邯郸市| 常宁市| 高邮市| 金昌市| 武功县| 武安市| 灵寿县| 密山市| 井冈山市| 芦山县| 涟源市| 西平县| 龙川县| 五指山市| 北碚区| 志丹县| 砚山县| 宜昌市| 彰武县| 万盛区| 嘉兴市| 特克斯县| 伊宁县| 永善县| 高唐县| 芷江| 西畴县| 将乐县| 乐陵市| 新营市| 什邡市| 越西县| 唐海县|