preact-boilerplate

:guitar: Ready-to-rock Preact starter project, powered by Webpack.

Preact Boilerplate / Starter Kit

Build Status gitter

:guitar: Ready-to-rock [Preact] starter project, powered by [webpack].

:rocket: If you’re starting a new project using [Preact], you’ve come to the right place. Below is a step-by-step guide that takes you straight from downloading this boilerplate to production.

:boom: View Demo :boom:


Quick-Start Guide

Installation

1. Clone this repo:

git clone --depth 1 https://github.com/developit/preact-boilerplate.git my-app
cd my-app

2. Make it your own:

rm -rf .git && git init && npm init

:information_source: This re-initializes the repo and sets up your NPM project.

3. Install the dependencies:

npm install

You’re done installing! Now let’s get started developing.

Development Workflow

4. Start a live-reload development server:

npm run dev

This is a full web server nicely suited to your project. Any time you make changes within the src directory, it will rebuild and even refresh your browser.

5. Testing with mocha, karma, chai, sinon via phantomjs:

npm test

Related Repositories

preact-boilerplate

preact-boilerplate

:guitar: Ready-to-rock Preact starter project, powered by Webpack. ...

preact-starter

preact-starter

Webpack2 boilerplate for building SPA / PWA / offline front-end apps with Preact ...

zero-to-preact

zero-to-preact

A Step-by-step Guide to Preact + Webpack 2, without boilerplate! ...

preact-widgets-boilerplate

preact-widgets-boilerplate

A boilerplate for creating portable Preact widgets that can be plugged into any web page! ...

preact-app-reactor

preact-app-reactor

a preact boilerplate ...