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

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:

主站蜘蛛池模板: 巴南区| 桐城市| 洛隆县| 剑阁县| 舒城县| 灵台县| 措美县| 阿瓦提县| 静乐县| 珲春市| 天门市| 葵青区| 都昌县| 岚皋县| 西吉县| 海南省| 洪雅县| 万山特区| 大石桥市| 德保县| 涞源县| 永靖县| 襄樊市| 朔州市| 阳泉市| 普安县| 南召县| 花莲市| 沅江市| 繁昌县| 灵丘县| 桃源县| 通河县| 陕西省| 沭阳县| 曲靖市| 宝鸡市| 察隅县| 阳山县| 山西省| 天气|