npm.io
1.1.71 • Published 5d ago

sveltekit-ui

Licence
MIT
Version
1.1.71
Deps
3
Size
6.6 MB
Vulns
0
Weekly
0

Setup

Refer to https://www.sveltekit-ui.com. for documentation

You can use an existing sveltekit project and install this package in your project with npm install sveltekit-ui

or to start a new project with a starter template (recommended). In your terminal cd into a folder you want to put your project files in such as /projects/my-project-all to use as the parent folder for stuff related to your project (but replace "my-project" with your own project name)

npx create-sveltekit-ui-site my-project

Open Code Editor

code . should open the project in your code editor such as vscode

Update Package

It's possible the starter template is a few updates behind. Check for updates by running ncu -u. You should run that periodically to keep the latest version of your npm packges

Developing

Once you've created a project and installed dependencies start a development server:

npm i
npm run dev

Browser

That should spit out a url like http://localhost:5173/ where you should see your starting website.

Code Generator

This is experimental but you can check out https://www.contibase.com/code_generator for component building help

Keywords