Giter Club home page Giter Club logo

njs-svelte's Introduction

NJS's Svelte Kit Template

A nice and simple Svelte Kit template to let me (or anyone else) quickly whip up new projects.

Features

VS Code Extensions

Coding style

This ESLint and Prettier config uses double-quotes and semicolons.

const msg = "wow";

Installation

You can download this repo as a .zip or clone it with git, but a cleaner approach is with degit.

npx degit njs-templates/njs-svelte new-project
cd new-project
yarn

Recommended IDE

This was meant to be used with VS Code, but it should work with any editor. You'll be prompted to install any recommended extensions that aren't installed. If no one on your team is using VS Code, just delete the .vscode/ folder.

Next steps

  • Run yarn dev to start Vite and make sure everything's working.
  • In package.json, change the project name and version.
  • Delete the following:
    • LICENSE.txt from the root of the directory.
      • If your project still uses an MIT License, just edit the author and year.
    • Either delete CHANGELOG.md or remove its contents.
    • The boilerplate from src/routes/+page.svelte, src/lib/components/HelloWorld.svelte and src/app.css.
      • You can easily do this from the Todo Tree tab in VS Code.
    • The .git/ folder if you cloned this repo.
  • Run a git init to start tracking changes.
  • Do whatever. This code is yours now. Credit is appreciated but not needed.

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.