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

The note list

We will now lay the groundwork for the side pane containing the list of notes:

  1. Add a new aside element with the side-bar class before the main section:
      <!-- Notebook app -->
      <p id="notebook">

        <!-- Sidebar -->
        <aside class="side-bar">
          <!-- Here will be the note list -->
        </aside>

        <!-- Main pane -->
        <section class="main">
      ...
  1. Add a new data property called notes--it will be the array containing all of our notes:
      data () {
        return {
          content: ...
          // New! A note array
          notes: [],
        }
      },
主站蜘蛛池模板: 涞水县| 娄烦县| 泗水县| 宁化县| 大石桥市| 鸡东县| 厦门市| 抚顺市| 礼泉县| 含山县| 东宁县| 什邡市| 大田县| 洛扎县| 成武县| 涞水县| 绥宁县| 多伦县| 安多县| 常熟市| 吉首市| 甘肃省| 临汾市| 阳东县| 嘉祥县| 大埔县| 罗甸县| 肃宁县| 大田县| 郑州市| 宁德市| 监利县| 唐河县| 郸城县| 新建县| 鞍山市| 环江| 喀喇| 呈贡县| 克东县| 神池县|