Vite Svelte
Description
This project is an example template of using Vite with Svelte. The project purpose is to experiment/implement the following features:
- Build Reusable components with Svelte
- Implement Routing with Svelte Routing including Protected Routes
- Use third party Svelte Library - Toast component
- Experiment Svelte syntax, statements, logic, stores, bindings, animation
Quick start
- Clone this repo using
git clone https://github.com/mohamedsamara/vite-svelte.git
- Move to the directory:
cd <PROJECT_NAME>
.
- Run
yarn install
in order to install dependencies.
Start development
$ yarn dev
Simple build for production
$ yarn build
Preview production build
$ yarn preview
$ yarn format