Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

devui-cli TODO #7

Description

@TinsFox

devui-cli 介绍 + 任务集合,欢迎评论参与共建,做之前先认领(编辑主贴,加@自己),避免冲突

介绍

基础功能

  • 文档系统

    • 读取约定式目录下的markdown 文件,渲染HTML
    • 文档网站基本骨架
    • 填充文档到文档网站
    • 组件demo预览,组件文档markdown中 :::demo 方式支持
    • 组件外部demo,组件文档以 <demo src="demofile"></code> 方式支持
    • 国际化支持
    • 暗黑模式支持
    • SEO支持
    • 读取TS interface/type 生成 API Doc
  • 组件库编译&构建

    • 开发时编译
      • 这里写一些要做的事情
    • 构建时编译
      • 这里写一些要做的事情

内置指令

  • dev,启动文档系统并开发时编译组件库
  • build,构建组件库生产产物
  • build-site,构建生产环境的文档系统
  • create-component,运行创建新组件生成器,根据设定模板生成组件骨架

规范集成

  • eslint
  • stylelint
  • commitlint
  • editorconfig

任务集合

项目骨架(工程化)

CLI 指令

compiler

site

  • site font, 字体族
  • site css variable
  • React 响应式(PC&移动端)站点
  • Vue 响应式(PC&移动端)站点

构建工具配置

  • 使用rollup 构建配置 CLI

规范集成

  • eslint
  • stylelint
  • commitlint
  • editorconfig

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions