1.0.2-3 • Published 2 years ago

neon-design v1.0.2-3

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

Neon-Design

detail:详细信息

Quick start

  1. run npm i neon-design to install

    npm i neon-design
  2. import into project

    import { Button } from 'neon-design'
  3. use babel-plugin-import to import components and style on demand

    npm i babel-plugin-import -D

    .babelrc.js:

    module.exports = {
      "plugins": [
        [
          "import",
          {
            "libraryName": "neon-design",
            "libraryDirectory": "lib/components",
            "style": "css",//"style":true if you're using less
          },
          "neon-design"
        ],
      ]
    }