GithubHelp home page GithubHelp logo

scriptmaster / preactsimplestarter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ooade/preactsimplestarter

0.0 2.0 0.0 1 MB

PWA Simple Starter with Preact, Preact-mdl and Webpack2 ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ

Home Page: https://preact-app.surge.sh

JavaScript 79.06% HTML 15.83% CSS 5.11%

preactsimplestarter's Introduction

Preact Simple Starter

It's highly recommended to use Preact-CLI

Build Status Code Climate Badge

PWA Simple Starter with Preact, Webpack 2 and your favorite React related packages ๐Ÿš€

This App uses:

  • Preact
  • Preact-mdl
  • React-Router
  • Redux
  • React-Helmet
  • Sass
  • Webpack Dashboard(For Bundle Analysis)

JS Build files:

  • app.js - 78.6kb (17kb gzipped)
  • vendor.js - 46.3kb (12.5kb gzipped)

_100/100 on lighthouse 1.4.1 audits_

Quick-Start Guide

Installation

1. Clone this repo:

git clone https://github.com/ooade/PreactSimpleStarter.git
cd PreactSimpleStarter

2. Make it your own:

rm -rf .git && git init && yarn init

โ„น๏ธ This re-initializes the repo and sets up your yarn project.

3. Install the dependencies:

yarn install

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

Development Workflow

4. Start a live-reload development server:

yarn 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.

โ„น๏ธ Try to avoid using Service Worker in your development environment, so you won't need to hard reload the page anytime you make a change.

5. Generate a production build in ./build:

yarn run build

You can now deploy the contents of the build directory to production!

License

MIT

preactsimplestarter's People

Contributors

developit avatar greenkeeper[bot] avatar guido4000 avatar ooade avatar

Watchers

 avatar  avatar

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.