Giter Site home page Giter Site logo

zzuu666 / antue Goto Github PK

View Code? Open in Web Editor NEW
258.0 10.0 36.0 1.26 MB

🌟 A set of enterprise-class Vue UI components, following the Ant Design specification.

Home Page: https://zzuu666.github.io/antue

License: MIT License

JavaScript 21.49% Vue 29.75% CSS 48.67% HTML 0.09%
vue ant-design component

antue's Issues

ant-design样式文件不统一

今天fork了个版本,想试着开发下.遇到了个问题:
通过Clone Ant-Design

git clone [email protected]:ant-design/ant-design.git --depth=10

拉取的ant-design是最新版本的样式文件,很多基础样式变量都不存在!

可否先基于统一版本的ant-design样式开发,然后再作升级?

目前ant-design已经发布了3.0.0版本,而我发现antue的themes/default.less甚至低于ant-design的2.x-stable分支版本,这样开发者就不容易定位到具体使用哪个版本的样式文件,出现我现在遇到的问题.

建议先基于2.x-stable版本开发,稳定下来之后再逐步升级到新的ant-design样式

完全实现?

Table Calendar 这些稍微复杂的组件 完全没看到

Some questions about the implementation of the components and its props

在Ant-design文档中,多数表单组件规定了valuecheckeddefaultValuedefaultChecked 其中之一的 props,但是其中的含义在Vue中是否适用值得讨论。

表单类组件的实现,是否应该考虑Vue的特色,加入v-model双向数据绑定的功能。以目前组件库中的radio组件为例,并没有为Vue而特殊设计;另外,如果加入v-model功能,部分组件的value属性在antd的一些组件(checkbox等)中仅仅作为该选项的标志,这与v-model语法糖依赖于value和组件内部$emit('input', val)的做法是相冲突的。

Remove the validator for Button type

虽说antd只有primary,dashed,danger,default这几种type,但是它并没有限制自定义的类型,而且事实上这几种类型是满足不了实际需求的.
image
image
image

个人建议,除非在引起不稳定因素的必要情况下,其它情况尽量不要使用oneOf限定参数,这对扩展性并不是很友好.

site中缺少router.js

ERROR in ./site/index.js
Module not found: Error: Can't resolve './router.js' in '/Users/liushaohua/Desktop/MIS-UI/site'
@ ./site/index.js 3:0-33
@ multi ./node_modules/.2.11.2@webpack-dev-server/client?http://localhost:8080 webpack/hot/dev-server ./site/index.js

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.