jtfogarty / udemy01

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

create-svelte

Everything you need to build a Svelte project, powered by create-svelte.

Creating a project

create-svelte

I created this project using;

pnpm create svelte@latest .

pnpm dlx svelte-add@latest tailwindcss

#Using svelte-add setup tailwind for this project

pnpm isntall

git add . && git commit -m "after installs" && git push origin main



pnpm dlx shadcn-svelte@latest init

## Developing

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

```bash
pnpm dev -- --host=10.10.4.41  #ip address is specific to the development server.

Building

To create a production version of your app:

pnpm run build

Shadcn-svelte components

 npx shadcn-svelte@latest add tabs
 npx shadcn-svelte@latest add card
 npx shadcn-svelte@latest add button
 npx shadcn-svelte@latest add input
 npx shadcn-svelte@latest add label
 npx shadcn-svelte@latest add textarea
 npx shadcn-svelte@latest add select

About


Languages

Language:Svelte 67.8%Language:TypeScript 18.8%Language:JavaScript 8.8%Language:CSS 3.7%Language:HTML 0.9%