Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
K
kityminder-core
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
吴志俊
kityminder-core
Commits
8207d32a
Commit
8207d32a
authored
Sep 23, 2015
by
张博
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified the steps using kityminder-core in README.md
parent
b0d1185c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
22 deletions
+7
-22
README.md
README.md
+7
-22
No files found.
README.md
View file @
8207d32a
...
...
@@ -18,7 +18,7 @@ KityMinder 是一款强大的脑图可视化/编辑工具,由百度 FEX 团队
```
js
<
div
id
=
"minder-container"
><
/div
>
<
script
type
=
"text/javascript"
src
=
"kityminder.
all
.min.js"
><
/script
>
<
script
type
=
"text/javascript"
src
=
"kityminder.
core
.min.js"
><
/script
>
<
script
type
=
"text/javascript"
>
var
minder
=
new
kityminder
.
Minder
({
renderTo
:
'minder-container'
...
...
@@ -37,34 +37,19 @@ KityMinder 基于 SVG 技术实现,支持绝大多数的 HTML5 浏览器,包
3.
Safari
4.
Internet Explorer 10 或以上
##
依赖
说明
##
使用
说明
kityminder-core 依赖
[
Kity
](
https://github.com/fex-team/kity
)
库。需要二次开发 kityminder-core,需要初始化并更新子模块:
kityminder-core 依赖于
[
kity
](
https://github.com/fex-team/kity
)
,开发中用到 seajs 进行异步加载。
例子中 dev.html 使用 seajs 进行包加载,example.html 使用同步加载的方式。
使用步骤如下:
```
bash
git submodule init
git submodule update
```
kityminder-core 的 example 使用 seajs 进行包加载,seajs 可以使用 bower 获取:
1.
安装
[
bower
](
http://bower.io/#install-bower
)
2.
切换到 kityminder-core 目录下,运行:
```
bash
bower
install
```
kityminder-core 使用 grunt 进行打包,安装 npm 组件后直接 grunt 即可打包:
```
bash
npm
install
grunt
```
想偷懒?可以用下面这个一行安装脚本:
```
bash
https://gist.githubusercontent.com/techird/72b420c7ea05154ce821/raw/6416f2709ce82a3a0d86a50763de1ce3ca7f3ca2/setup-km-core
```
## 联系我们
问题和建议反馈:
[
Github Issues
](
https://github.com/fex-team/kityminder-core/issues
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment