Skip to content

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

Notifications You must be signed in to change notification settings

LANIF-UI/module-boot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published