A Svelte frontend UI library.
Demo
Install SCSS
in rollup.config.js
(or vite.config.js
if you use vite)
import preprocess from 'svelte-preprocess'; // Line to add
/* ... */
export default {
/* ... */
plugins: [
svelte({
/* ... */
preprocess: preprocess(), // Line to add
})
}),
/* ... */
}
Install LabUI
npm i --save @ztl-uwu/labui
<script>
import {
LButton,
LBox,
//...
} from '@ztl-uwu/labui/main';
</script>
Components
Other
git clone https://github.com/ZTL-UwU/LabUI
cd LabUI
cp -r ./src/styles/fonts ./public/build/
npm install
npm run dev