Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

module-boot

自定义模块与组件的基础工程,来自generator-rc

使用

$ git clone https://github.com/LANIF-UI/module-boot.git
$ cd module-boot
$ yarn
$ yarn start

文件结构

- examples
 - index.html
 - index.js
- src
 - Component.js
 - index.js
- index.js
- tests
  - index.js
- package.json

package.json

tests/index.js

import expect from 'expect.js';
import * as React from 'react';
import Component from 'rc-test';

describe('it', function(){
    it('works', function(){
        const component = (<Component/><a></a></Component>);
        expect(component).to.be(component);
    });
});

index.html

placeholder

启动

yarn
yarn start

About

使用rc-tools,自定义模块与组件的基础工程,生成的gh-pages

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.