Sveltekit Auth Workshop screenshot

Sveltekit Auth Workshop

Author Avatar Theme by Hyper63
Updated: 2 Jun 2021
5 Stars

A demo repo from the sveltekit-auth workshop

Overview

Create-Svelte is a tool that provides everything you need to build a Svelte project. It is powered by the create-svelte framework and allows for easy project creation, development, and building processes.

Features

  • Project Creation: Create a new Svelte project easily using the create-svelte tool.
  • Development Server: Start a development server to preview and test your project during development.
  • Dependency Installation: Install project dependencies with npm, pnpm, or yarn.

Installation

To install Create-Svelte, follow these steps:

  1. Make sure you have Node.js installed on your machine.
  2. Open your terminal and run the following command to install Create-Svelte globally:
    npm install -g create-svelte
    
  3. Once the installation is complete, you can use the create-svelte command to create a new Svelte project.

To start the development server, navigate to the project directory and run the following command:

npm run dev

To build a production version of your app, follow these steps:

  1. Install an adapter for your target environment. This will allow your app to function correctly in the desired environment.
  2. Run the following command to build your app:
    npm run build
    

You can also preview the built app by running the following command:

npm run preview

Please note that the npm run preview command should not be used to serve your app in production.

Summary

Create-Svelte is an efficient tool for building Svelte projects. It provides a simple and streamlined process for project creation, development, and building. With features such as a development server and dependency installation, Create-Svelte helps developers easily build and deploy their Svelte applications.