@lbzui/vue
@lbzui/vue is now available in BETA, but you can read in more depth on API documentation and documentation website to develop.
If you have any questions, ideas or you want to discuss with it, create an issue or email to lbz_ui@163.com.
Features
- Follow the principles of Material Design
- Support Light and Dark theme, and easily adapt darkened UIs to dark theme
- Customize Layout grid, Shape, Theme, and more
- Enable
<router-link>
and custom tag of components - Fit responsive web design (desktop first)
- Use Vue (2.6.0+), TypeScript, Less (3.5.0+), PostCSS, etc
Quick start
Using via CDN
Require the stylesheets and scripts in your HTML
Using via NPM
Step 1: Create a new project via Vue CLI
Step 2: Install @lbzui/vue in your project
Step 3: Import @lbzui/vue in your code
Or use individual components:
Step 4: Build a Material theme
NOTE: If you just want to use the compiled CSS, you can skip to Step 5.
Create your own Material theme by customizing values for Layout grid, Shape, Theme, and more.
Install devDependencies through npm or yarn:
Import CSS source code in src/main.ts(.js)
:
Prepend variables and mixins to all less files in vue.config.js
:
Use PostCSS plugins to convert CSS in package.json
or postcss.config.js
:
Step 5: Use components like Button
All examples? Please view code examples for details.