├── .babelrc
├── .editorconfig
├── .gitattributes
├── .gitignore
├── .vscode
└── settings.json
├── README.md
├── README.zh-CN.md
├── example.png
├── index.html
├── package.json
├── src
├── App.vue
├── assets
│ └── logo.png
├── components
│ └── JsMind
│ │ ├── JsMind.vue
│ │ ├── index.js
│ │ ├── jsmind.css
│ │ ├── jsmind.draggable.js
│ │ ├── jsmind.js
│ │ └── jsmind.screenshot.js
└── main.js
├── webpack.config.js
└── yarn.lock
/.babelrc:
--------------------------------------------------------------------------------
1 | {
2 | "presets": [
3 | [
4 | "env",
5 | {
6 | "modules": false
7 | }
8 | ]
9 | ]
10 | }
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | charset = utf-8
5 | indent_style = space
6 | indent_size = 2
7 | end_of_line = lf
8 | insert_final_newline = true
9 | trim_trailing_whitespace = true
10 |
--------------------------------------------------------------------------------
/.gitattributes:
--------------------------------------------------------------------------------
1 | *.js linguist-language=vue
2 | *.css linguist-language=vue
3 | *.html linguist-language=vue
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | node_modules/
3 | dist/
4 | npm-debug.log
5 | yarn-error.log
6 |
7 | # Editor directories and files
8 | .idea
9 | *.suo
10 | *.ntvs*
11 | *.njsproj
12 | *.sln
13 |
--------------------------------------------------------------------------------
/.vscode/settings.json:
--------------------------------------------------------------------------------
1 | {
2 | }
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # vue-jsmind
2 |
3 | > A Vue.js Component ( base on [jsmind](https://github.com/hizzgdev/jsmind ) )
4 |
5 | English | [简体中文](README.zh-CN.md)
6 | # Install
7 | ```bash
8 | yarn add vue-jsmind #or npm install vue-jsmind
9 | ```
10 |
11 | # Quick Start
12 | ```js
13 | import Vue from 'vue'
14 | import jm from 'vue-jsmind'
15 |
16 | Vue.use(jm)
17 | ```
18 |
19 | # Use
20 | ```html
21 |