sinpro.dev
Docs
Clean Code
Variables
  • Company Information
    • Portfolio
    • About
    • Services
    • Events
  • Dev Environment
    • macOS Settings
    • Chrome Extensions
    • VSCode Workspace Settings
    • VSCode Workspace Extensions
    • Global NPM Packages
    • npm-check-updates
    • SvelteKit
    • Customize Zsh
    • ChatGPT Prompts
    • Tailwind CSS
    • Warp
    • Keyboard Shortcuts
  • Assets
    • Assets
    • JPG/PNG to AVIF
    • TTF to WOFF2
  • Clean Code
    • Clean Code
    • Format
    • Quality
    • Variables
    • Functions
    • Objects and Data Structures
    • Classes
    • Concurrency
    • Error handling
    • Comments
  • Code Style
    • TypeScript Config
    • Prettier
    • ESLint
    • Stylelint
  • Testing
    • Vitest
    • Playwright
  • Git
    • Git Branches and Commits
    • Git Hooks
    • Git User Profiles
    • Git for Windows
  • GitHub
    • GitHub Issues
    • GitHub Pull Requests
    • GitHub Repository Settings
    • GitHub Branch Protection
    • GitHub Actions
  • Code Quality
    • SonarCloud Coverage
  • Server
    • SSH
    • PM2
    • Caddy
    • Updating the server
    • ngrok
  • Team sinProject
    • Our Team Policy
    • Equipment and Supplies
    • Books
    • Slack
    • Locales
    • Funny Apps
    • Docs History
  • Talk
    • Talk
    • Creating a Project
    • App Structure

Dev Environment

SvelteKit

Edit this page

For web application development, we utilize SvelteKit.

This documentation app is also built using SvelteKit and TypeScript. On the server side, it examines the folder structure to generate menu data, retrieves markdown files, and applies styles using CSS within the browser.

Tutorial

The SvelteKit official website offers an interactive tutorial for beginners. To get started with Svelte and SvelteKit, we recommend exploring these tutorials first.

Docs

More detailed information can be found in the Docs.

  • Svelte Docs
  • SvelteKit Docs

Creating a Project

Shell Session
$ npm create svelte@latest my-app
create-svelte version 5.0.2
┌ Welcome to SvelteKit!
◆ Which Svelte app template?
│ ○ SvelteKit demo app (A demo app showcasing some of the features of SvelteKit - play a word guessing game that works without JavaScript!)
│ ● Skeleton project
│ ○ Library project

◆ Add type checking with TypeScript?
│ ○ Yes, using JavaScript with JSDoc comments
│ ● Yes, using TypeScript syntax
│ ○ No

◆ Select additional options (use arrow keys/space bar)
│ ☑ Add ESLint for code linting
│ ☑ Add Prettier for code formatting
│ ☑ Add Playwright for browser testing
│ ☑ Add Vitest for unit testing

$ cd my-app
$ npm install
$ npm run dev
npm-check-updates Customize Zsh
© sinProject. v0.73.0
On this page
  • SvelteKit
  • Tutorial
  • Docs
  • Creating a Project