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

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:

主站蜘蛛池模板: 潢川县| 调兵山市| 广河县| 获嘉县| 余江县| 浠水县| 六枝特区| 尚义县| 体育| 蒲城县| 桂阳县| 舒城县| 临西县| 浪卡子县| 重庆市| 邵东县| 汝州市| 泗洪县| 盐池县| 内江市| 平定县| 桂林市| 东乡| 永泰县| 基隆市| 封丘县| 自贡市| 麟游县| 南召县| 亚东县| 安达市| 临澧县| 都江堰市| 论坛| 仙游县| 黄石市| 双牌县| 罗江县| 天峨县| 永宁县| 康马县|