You can now import components directly from @silintl/ui-components eg: import { Button} from '@silintl/ui-components'
Just use lang="ts"
in your script tags
playwright is preinstalled for testing.
Pretter is preinstalled for formatting
run npm run format
to format all the files.
See ./src/lib/_theme.scss
and modify to your needs
See ./src/lib/_typography.scss
and modify to your needs
Add them to /lib and import them.
vars from .env
can be imported like so:
import { PUBLIC_ENV } from '$env/static/public'
import { PRIVATE_ENV } from '$env/static/private'
but private vars need to be imported from a file in /lib/server
or .server.ts (or .js) files such as +page.server.ts.