Home

Awesome

<img src="banner.png" alt="SvelteJS application boilerplate with Webpack, scss, babel, fetchjs, postcss, jest, .env." align="center" /> <br/> <br/> <div align="center">Svelte application boilerplate with Webpack, Babel, PostCSS, Sass, Fetch, Jest, .Env, EsLint.</div> <br/> <div align="center"> <!-- CodeClimate --> <a href="https://codeclimate.com/github/pankod/svelte-boilerplate/maintainability"> <img src="https://api.codeclimate.com/v1/badges/2c6982d3ad672a07f7ae/maintainability" /> </a> <!-- TestCoverage --> <a href="https://codeclimate.com/github/pankod/svelte-boilerplate/test_coverage"><img src="https://api.codeclimate.com/v1/badges/2c6982d3ad672a07f7ae/test_coverage" /></a> <!-- Build Status --> <a href="https://travis-ci.org/pankod/svelte-boilerplate"> <img src="https://travis-ci.org/pankod/svelte-boilerplate.svg?branch=master" alt="Build Status" /> </a> <!-- Dependency Status --> <a href="https://david-dm.org/pankod/svelte-boilerplate"> <img src="https://david-dm.org/pankod/svelte-boilerplate.svg" alt="Dependency Status" /> </a> <!-- devDependency Status --> <a href="https://david-dm.org/pankod/svelte-boilerplate#info=devDependencies"> <img src="https://david-dm.org/pankod/svelte-boilerplate/dev-status.svg" alt="devDependency Status" /> </a> </div> <br/> <div align="center"> This boilerplate make it easier to get started with a well-structured Svelte application. <br /> <br /> <sub>Created by <a href="https://www.pankod.com">Pankod</a></sub> </div>

About

Svelte is a new approach to building user interfaces. Whereas traditional frameworks like React and Vue do the bulk of their work in the browser, Svelte shifts that work into a compile step that happens when you build your app.

Svelte runs at build time, converting your components into pure and optimized JavaScript code without other framework dependencies which makes for really tiny bundles. Instead of using techniques like virtual DOM diffing, Svelte writes code that surgically updates the DOM when the state of your app changes. So there is no virtual DOM, no frameworks on top of frameworks, and no framework to load at runtime.

The advantages of this approach is we're able to write applications with excellent performance characteristics.

This boilerplate make it easier to get started with a well-structured Svelte application.

By the end of setup, you'll have a Svelte project and features which is specified at the below.

<br/>

Features

This boilerplate includes the latest powerfull tools.

<br/>

Setup & Documentation

Please refer to our setup guide to create a new app.

For more detailed documentation, check out https://pankod.github.io/svelte-boilerplate/

<br/>

Built-in CLI

<div> <img width="600" src="./cli.gif" > </div> <br/> <br/>

Pankod boilerplate is shipped with a CLI tool to streamline the creation of new components. By using the CLI tool, you may easily add components to your project. <br />

To start the CLI, you may run the following npm command:

npm run cli

After starting, an interactive menu will let you configure the component the be created. You'll be asked for the name of the component.

After answering question it generates component, style and test files in miliseconds.

<br/>

License

Licensed under the MIT License, Copyright © 2019-present Pankod