GithubHelp home page GithubHelp logo

vikingship's Introduction

Vikingship component library

使用 React+typescript 从零到一打造一套你自己的组件库

Build Status

vikingship 是为慕课网打造的一套教学组件库,使用 React Hooks 和 typescript 意在让大家从零到一,由浅入深的提高自己的 React 和 typescript 水平,它的官网地址是 vikingship.xyz

安装最后已经发布的组件库来试试

npm install vikingship --save

使用

// 加载样式
import 'vikingship/dist/index.css'
// 引入组件
import { Button } from 'vikingship'

课程亮点

  • 🔥typescript with React Hooks
  • 💧渐进式的教学过程,很多章后面都有扩展作业,引导同学们深入学习和掌握知识
  • ⛑️使用 react-testing-library 完成单元测试
  • 📚使用 storybook 本地调试和生成文档页面
  • 📚使用 react-doc-gen 自动生成文档
  • 📦使用第三方库扩充组件-(react-fontawesome, react-transition-group)
  • 🌹样式(Sass)文件从零开始,掌握大型应用的 CSS 组织方法
  • 🎉涉及全部流程,包括最后的 npm publish,husky提交发布前验证,travis CI/CD 集成,发布文档站点等

一些本地开发命令

//启动本地环境
npm run stroybook

//跑单元测试
npm test

//build可发布静态文件
npm run build

//发布到 npm
npm run publish

vikingship's People

Contributors

lwrench avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Forkers

huiminxu

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.