SvelteKit E-commerce - Live Demo
Install pnpm globally using the following command, which is a performant node package manager.
npm install -g pnpm
Make sure to install dependencies using:
pnpm install
Make a copy of the environment variables file.
cp .env.example .env
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
To create a production version of your app:
pnpm run build
You can preview the production build with:
pnpm run preview
To validate the definitions of the types:
pnpm run typecheck
Run the following command to lint the application.
pnpm run lint
To deploy your app, you may need to install an adapter for your target environment.
SvelteKit E-commerce is open-sourced software licensed under the MIT license.