{"repo":"developit/preact-boilerplate","free":true,"listed":false,"github":"https://github.com/developit/preact-boilerplate","clone":"git clone https://github.com/developit/preact-boilerplate.git","description":":guitar: Ready-to-rock Preact starter project, powered by Webpack.","language":"JavaScript","stars":962,"topics":["preact","webpack","development-workflow","css-modules","boilerplate","pwa"],"license":null,"category":"saas-starters-boilerplates","readme_excerpt":"Preact Boilerplate / Starter Kit :guitar: Ready-to-rock [Preact] starter project, powered by [webpack]. (View Demo) ### :rocket: Note: We now recommend Preact CLI for new projects. Preact CLI is a natural evolution of this boilerplate, and improves on it in every way. In a single dependency, you get a friendly command line project creation and build tool with development & production modes. Preact CLI requires no configuration at all , and even does automatic code-splitting without you lifting a finger! It also produces bundles roughly half the size of preact-boilerplate. --- Quick-Start Guide - Installation - Development Workflow - Structure - CSS Modules - Handling URLS - React Compatibility Installation 1. Clone this repo: 2. Make it your own: :information source: This re-initializes the repo and sets up your NPM project. 3. Install the dependencies: You're done installing! Now let's get started developing. Development Workflow 4. Start a live-reload development server: 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 : 🌟 This also instruments the code in src/ using isparta, giving you pretty code coverage statistics at the end of your tests! If you want to see detailed coverage information, a full HTML report is placed into coverage/ . 6. Generate a production build in ./build : You can now deploy the conten","default_branch":null,"files":null,"tree":[],"storefront":"/r/developit","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/developit/preact-boilerplate/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}