SvelteKit E-commerce - Live Demo
Install pnpm globally using the following command, which is a performant node package manager.
npm install -g pnpmMake sure to install dependencies using:
pnpm installMake a copy of the environment variables file.
cp .env.example .envTo start a development server:
npm run dev
# or start the server and open the app in a new browser tab
npm run dev -- --openTo create a production version of your app:
pnpm run buildYou can preview the production build with:
pnpm run previewTo validate the definitions of the types:
pnpm run typecheckRun the following command to lint the application.
pnpm run lintTo 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.