SvelteKit E-commerce - Live Demo

Setup

Install pnpm

Install pnpm globally using the following command, which is a performant node package manager.

npm install -g pnpm

Installing dependencies

Make sure to install dependencies using:

pnpm install

Make a copy of the environment variables file.

cp .env.example .env

Developing

To start a development server:

npm run dev

# or start the server and open the app in a new browser tab
npm run dev -- --open

Building

To create a production version of your app:

pnpm run build

Previewing

You can preview the production build with:

pnpm run preview

Type Checking

To validate the definitions of the types:

pnpm run typecheck

Linting

Run the following command to lint the application.

pnpm run lint

Deploying

To deploy your app, you may need to install an adapter for your target environment.

License

SvelteKit E-commerce is open-sourced software licensed under the MIT license.

Top categories

Loading Svelte Themes