Giter Site home page Giter Site logo

svelte-ssr-template's Introduction

Ashim's SvelteKit template

How it differs from the basic SvelteKit starter project

This preconfigured this template with the following:

  • It's set up to only output static files and not depend on any particular server.
  • It assumes TypeScript everywhere.
  • It enables ESLint and automatic code formatting.
  • It enables SCSS.
  • It enables Markdown (using MDsveX, which lets you mix Markdown and Svelte in the same file).
  • It includes opinionated global styles to get beautiful text by default.
  • It includes HTML minification.
  • It includes a GitHub Actions publishing workflow to deploy Github Pages.

Building and running

  • npm install: Install dependencies
  • npm start: Start dev server
  • npm run build: Production build
  • npm run serve: Serve production build for testing

Customizing for your site

At minimum, do this to customize the site for your purposes:

  1. Find and replace SvelteKitTemplate with the name of your site
  2. Change the package.json project name to repository name. This is needed for properly deploying for Github pages.
  3. Update the copyright information in src/routes/+layout.svelte
  4. Replace image assets in static/images/app with appropriate logos for your site
  5. Give yourself credit in humans.txt

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.