svelte-boilerplate

Svelte Boilerplate

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

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 :gem:

Top categories

Loading Svelte Themes