Skip to content

zlj-antd application for registering the ant-design component

License

Notifications You must be signed in to change notification settings

jeffycai/zlj-antd

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

zlj-antd application for registering the ant-design component

Usage

Your application can use antd components by add zlj-antd dependency.

  1. Add dependency
$ maka add zlj-antd
  1. Modify the view
const view = {
    component: 'div',
    children: [{
        component: 'antd.Button',
        children: 'submit'
    }]
}
  1. Modify the index.html
<script>
    window.main = function (maka) {
        maka.load(['zlj-antd']).then(()=>{
            maka.render('yourApp','app')
        })
    }
<script>

Download and run

  1. Download
  2. Decompress
  3. Enter decompress directory
  4. Run
$ yarn start

License

MIT

About

zlj-antd application for registering the ant-design component

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 90.6%
  • CSS 9.4%