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

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:

主站蜘蛛池模板: 哈密市| 二连浩特市| 樟树市| 北京市| 晋州市| 德令哈市| 祥云县| 阿克| 迁安市| 布尔津县| 融水| 花莲县| 屏东市| 象山县| 望都县| 阳高县| 元阳县| 柏乡县| 眉山市| 沁阳市| 方山县| 始兴县| 林口县| 泸水县| 手机| 于都县| 张家口市| 安塞县| 定南县| 安义县| 交城县| 鹿泉市| 德兴市| 儋州市| 福海县| 新巴尔虎左旗| 防城港市| 德阳市| 买车| 留坝县| 平武县|