0.1.3 • Published 3 years ago
@zhangtianli2006/lab-ui v0.1.3
LabUI
A Svelte frontend UI library. Demo
Installation
Install SCSS
Install Components
npm install svelte-preprocess node-sass
open
rollup.config.js
import preprocess from 'svelte-preprocess'; // Line to add /* ... */ export default { /* ... */ plugins: [ svelte({ /* ... */ preprocess: preprocess(), // Line to add }) }), /* ... */ }
Install LabUI
npm i @zhangtianli2006/lab-ui
Usage
<script>
import {
LButton,
LBox,
//...
} from '@zhangtianli2006/lab-ui/main';
</script>
Development
Progress
Done:
- Box
- Button
- Input
- Link
- MessageBar
- NumberPicker
- Progress
- Radio
- Switch
Start Demo Server
git clone https://github.com/zhangtianli2006/LabUI
npm install
npm run dev