新版本更新支持 Markdown 形式的筆記,支持導出 .png 格式的筆記圖片,複製內容到剪貼板方便分享,支持將全部筆記數據導出爲 JSON 格式的文件等。vue
基於 Vue.js 的簡單記事本 SPA 。Mint-UI、Vue、VueRouter、Vuex,使用localStorage做爲數據本地持久化,並支持使用Markdown格式筆記,主要功能有增查改刪筆記、按條件過濾和排序筆記、並支持文字和圖片等形式的筆記.git
Vue.js-based simple notepad SPA. Mint-UI, Vue, VueRouter, Vuex, the use of localStorage as local database(storage), and support the Markdown formatting language, the main features are increased check delete notes, conditional filtering and sorting notes , And supports notes in the form of words and pictures.github
點擊這裏看演示:DEMOnpm
源代碼:githubcanvas
# 安裝依賴
npm install
# 開發模式localhost:8080
npm run dev
# 打包構建
npm run build
複製代碼
├── App.vue
├── assets // 靜態資源
├── components // 組件
| ├── Header.vue // 導航欄
| ├── Index.vue // 主頁
| ├── MemoItem.vue // 筆記文檔
| ├── ModifyMemo.vue // 修改筆記界面
| ├── NewMemo.vue // 新建筆記界面
| ├── Preview.vue // 預覽 MD 筆記
| ├── ShowMemo.vue // 查看筆記界面
| └── Tabbar.vue // tabbar欄
├── main.js
├── router // 路由
| └── index.js
├── store // 全局 store 管理
| ├── action.js
| ├── index.js
| └── mutation.js
└── utils // 全局共用方法
└── index.js
複製代碼