To use ubeac components in your svelte based projects you need to install @ubeac/svelte
npm package.
npm install @ubeac/svelte
To use uBeac components in sveltekit based projects you need to import CSS styles in your root
+layout.svelte
file.
<!-- src/routes/+layout.ts -->
<script>
import { Button } from '@ubeac/svelte';
import '@ubeac/svelte/styles/tabler.css';
</script>
<Button outline color="primary">Click Me!</Button>
<slot/>
Now you are able to use uBeac components in any page or component in your project.
You can import styles from @ubeac/svelte/styles/tabler.css
in your App.svelte
or main.js
file