Skip to content

Boilerplate for lightweight project using Svelte, tailwindcss, eslint and jest

Notifications You must be signed in to change notification settings

Nurintaaan/svelte-boilerplate

Repository files navigation

Svelte Boilerplate

Boilerplate for light to medium scale project. Start your project within a second with this boilerplate

Quick Start

First, clone this project

$ git clone git@github.com:Nurintaaan/svelte-boilerplate.git

install the depedencies needed

$ npm install

and if you have an env variable, create your .env files by using this command

$ cp .env.example .env

then you can run your local application, by following command

$ npm run dev

Testing

To test your application use this command

$ npm run test

Feature

  • Svelte JS - front end frameworks for building SPA, lightweight and reactive
  • Tailwind - A utility-first CSS framework for rapidly building custom designs
  • Jest - Jest is a delightful JavaScript Testing Framework with a focus on simplicity.
  • Eslint - ESLint is a tool for identifying and reporting on patterns found in ECMAScript/JavaScript code
  • Prettier - code formatter

Project Structure

  • src/
    • pages/
      • Home.svelte - home page
      • Home.test/ks - home page test
      • About.svelte - about page
    • components/
      • Navbar.js- Navbar Component
    • routes/
      • index.js - router config

License

This project is licensed under the MIT license, Copyright (c) 2020 Nur Intan Alatas 💎

About

Boilerplate for lightweight project using Svelte, tailwindcss, eslint and jest

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages