Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit e458ea5

Browse files
Merge pull request #2 from nil-components/develop
Develop
2 parents 44218d5 + 953a5b3 commit e458ea5

17 files changed

+31740
-5
lines changed

‎README.md‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
# nil-tree
1+
# react-nil-tree
22

3-
`npm install --save nil-tree`
3+
`npm install --save react-nil-tree`
44

55

66
## Tree属性
@@ -63,7 +63,7 @@
6363
```
6464
import React, { Component } from 'react';
6565
import TreeStore from 'xtree-store';
66-
import NilTree from 'nil-tree';
66+
import NilTree from 'react-nil-tree';
6767
import data from '../data.json';
6868
6969
export default class DEMO extends Component {

‎build/docs.js‎

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
const { build } = require('make-webpack-config');
2+
3+
build({
4+
cleanDist: true,
5+
appPath: process.cwd() + '/examples',
6+
appDist: process.cwd() + '/docs',
7+
resolve: {
8+
alias: {
9+
'nil-tree': __dirname + '/../src'
10+
}
11+
}
12+
});

‎docs/index.html‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<!doctype html><html style="width:100%;height:100%;overflow:hidden"><head><meta charset="utf-8"><title>tree</title><meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1"><style>.demo{width:800px;height:450px;margin:100px auto;background:#fff;font-size:12px;overflow:auto}</style><link href="static/css/app.cfb2e5ac.css" rel="stylesheet"></head><body style="background:#f5f5f5"><div class="demo" id="demo"></div><script type="text/javascript" src="static\js\vendors.553ccd97.chunk.js"></script><script type="text/javascript" src="static\js\app.a5e727c6.js"></script></body></html>

‎docs/manifest.json‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
{
2+
"app.css": "static/css/app.cfb2e5ac.css",
3+
"app.js": "static/js/app.a5e727c6.js",
4+
"app.css.map": "static/css/app.cfb2e5ac.css.map",
5+
"app.js.map": "static/js/app.a5e727c6.js.map",
6+
"vendors.js": "static/js/vendors.553ccd97.chunk.js",
7+
"vendors.js.map": "static/js/vendors.553ccd97.chunk.js.map",
8+
"index.html": "index.html"
9+
}

‎docs/static/css/app.3ad54352.css‎

Lines changed: 92 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /