Coder Social home page Coder Social logo

xbb-plus's Introduction

项目说明

安装依赖,没安装过 pnpm 的,先全局安装下 pnpm

pnpm install

项目打包

npm run build

项目静态页面测试,第一次启动需要先进入play目录

npm install
npm run dev

文件说明

  • build 负责打包的文件夹 gulp 编译ts, 打包样式, 打包单文件组件
  • dist 就是我们最终生成的打包结果
  • packages 放着我们组件的代码 monorepo
  • play用来测试代码 写的组件是否ok, 调试用的
  • typings 放上我们的类型声明
  • .npmrc 需要增加此文件安装依赖才会正常
  • tsconfig ts的配置

packages

> components存放所有组件的 最终通过index.ts 导出所有的组件
> theme-chalk做样式的 BEM  (后续控制样式)
> utils主要存放着多个模块之间的公共方法

build打包模块 gulp来控制流程的

  • build目前我们实现了打包样式 、 工具方法

dist目录打包出的整体结果

  • es/lib两种规范
  • theme-chalk
  • 最终发布的模块就是dist模块 -》 element-plus -》 xbb-plus

xbb-plus就是我们组件库的整合入口

xbb-plus's People

Contributors

chenjing0823 avatar

Watchers

James Cloos avatar

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.