GithubHelp home page GithubHelp logo

Comments (8)

sorrycc avatar sorrycc commented on August 10, 2024

@yiminghe @afc163 @benjycui

from antd-init.

sorrycc avatar sorrycc commented on August 10, 2024

不建议这么做。这样改了之后 antd-init 的定位就变了,等于原来的 sf,做 npm 包的下载解压。而我理解 antd-init 应该是给出 有限 几套官方的使用 antd 的推荐。

from antd-init.

soda-x avatar soda-x commented on August 10, 2024

比较认同云谦这个说法,官方应该是 有限 推荐

虽然使用了 npm pack 这类方式可以让脚手架工具版本保持一定的稳定性,但是它对于开发者认知在 antd 这个生态下有什么可用脚手架增加了成本,或许又需要衍生一个文档出来存放官方推荐的架手架。

from antd-init.

benjycui avatar benjycui commented on August 10, 2024

这不就是 yo 么。。。

倾向于就像现在这样,prompt 出几个 boilerplate 给用户选择就好

from antd-init.

yiminghe avatar yiminghe commented on August 10, 2024

再做个工具 atool-pack 调用 antd-init 生成简单模版(主要结构(src,test,mock)和 package.json),然后下载模版在之上修改

from antd-init.

saiyagg avatar saiyagg commented on August 10, 2024

两个的职责不一样导致还是分开,项目脚手架还是落在 antd-init,模版安装可以落在 atool-pack

from antd-init.

afc163 avatar afc163 commented on August 10, 2024

init 最好不要封装包管理的工作。

from antd-init.

afc163 avatar afc163 commented on August 10, 2024

antd-init 提供基础脚手架,以及对外输出基础脚手架的能力。chair-react 和 sofa-react 等业务线使用 antd-init 上层封装皮,基于基础的脚手架类型扩展出业务类型。

from antd-init.

Related Issues (20)

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.