All Projects → lukeed → Preact Starter

lukeed / Preact Starter

Licence: mit
Webpack3 boilerplate for building SPA / PWA / offline front-end apps with Preact

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Preact Starter

Vue Wordpress Pwa
An offline-first SPA using Vue.js, the WordPress REST API and Progressive Web Apps
Stars: ✭ 665 (+73.18%)
Mutual labels:  webpack, offline, pwa, spa, progressive-web-app
Preact Minimal
🚀 Minimal preact structure
Stars: ✭ 136 (-64.58%)
Mutual labels:  webpack, starter-kit, pwa, preact, progressive-web-app
Offline Plugin
Offline plugin (ServiceWorker, AppCache) for webpack (https://webpack.js.org/)
Stars: ✭ 4,444 (+1057.29%)
Mutual labels:  webpack, offline, pwa, progressive-web-app
Vuefront Nuxt
Vuefront Nuxt module for building components based on config.
Stars: ✭ 16 (-95.83%)
Mutual labels:  webpack, offline, pwa, spa
Android Pwa Wrapper
Android Wrapper to create native Android Apps from offline-capable Progressive Web Apps
Stars: ✭ 265 (-30.99%)
Mutual labels:  offline, pwa, spa, progressive-web-app
React Most Wanted
React starter kit with "Most Wanted" application features
Stars: ✭ 1,867 (+386.2%)
Mutual labels:  starter-kit, offline, pwa, progressive-web-app
React Firebase Admin
React ⚛️ starter kit with Firebase 🔥 and Bulma for setting up an admin dashboard - Highly scalable, PWA, Serverless
Stars: ✭ 232 (-39.58%)
Mutual labels:  starter-kit, boilerplate, offline, pwa
wordpress
Free PWA & SPA for Wordpress & Woocommerce
Stars: ✭ 103 (-73.18%)
Mutual labels:  spa, pwa, offline, progressive-web-app
Webvr Webpack Boilerplate
A webvr multi-scenes Single-page application for three.js, webpack
Stars: ✭ 47 (-87.76%)
Mutual labels:  webpack, starter-kit, boilerplate, spa
Webxr Webpack Boilerplate
Starter Kit for building rich, immersive WebXR projects (featuring A-Frame) PWA with Webpack and SASS
Stars: ✭ 48 (-87.5%)
Mutual labels:  webpack, starter-kit, boilerplate, pwa
Prestashop
Free PWA & SPA for PrestaShop
Stars: ✭ 59 (-84.64%)
Mutual labels:  webpack, offline, pwa, spa
Meteor Apollo Starter Kit
Meteor, Apollo, React, PWA, Styled-Components boilerplate
Stars: ✭ 91 (-76.3%)
Mutual labels:  starter-kit, boilerplate, pwa, progressive-web-app
Preact Redux Isomorphic
preact-redux-isomorphic PWA SPA SSR best practices and libraries in under 80kB page size (for live demo click the link below)
Stars: ✭ 85 (-77.86%)
Mutual labels:  boilerplate, pwa, spa, preact
Preact Boilerplate
🎸 Ready-to-rock Preact starter project, powered by Webpack.
Stars: ✭ 959 (+149.74%)
Mutual labels:  webpack, boilerplate, pwa, preact
Tris Webpack Boilerplate
A Webpack boilerplate for static websites that has all the necessary modern tools and optimizations built-in. Score a perfect 10/10 on performance.
Stars: ✭ 1,016 (+164.58%)
Mutual labels:  webpack, boilerplate, offline, pwa
Iceberg
Front-End Boilerplate built with React + Babel + Webpack + SASS
Stars: ✭ 144 (-62.5%)
Mutual labels:  webpack, webpack3, starter-kit, boilerplate
Ios Pwa Wrapper
An iOS Wrapper application to create a native iOS App from an offline-capable Progressive Web App.
Stars: ✭ 268 (-30.21%)
Mutual labels:  offline, pwa, spa, progressive-web-app
Electron React Boilerplate
A Foundation for Scalable Cross-Platform Apps
Stars: ✭ 18,727 (+4776.82%)
Mutual labels:  webpack, starter-kit, boilerplate
Vuesion
Vuesion is a boilerplate that helps product teams build faster than ever with fewer headaches and modern best practices across engineering & design.
Stars: ✭ 2,510 (+553.65%)
Mutual labels:  webpack, progressive-web-app, pwa
Js Library Boilerplate
Javascript Starter Boilerplate - Webpack 4, Babel 7, UMD, Hot Reloading, and more
Stars: ✭ 202 (-47.4%)
Mutual labels:  webpack, starter-kit, boilerplate

preact-starter

Webpack3 boilerplate for building SPA / PWA / offline front-end apps with ⚛️ Preact

Using preact-starter will kickstart your next application! 💯 It is designed to fit the "90% use-case" for those who want to build offline-first web apps (see features below).

🚩 Important: This is meant for client-side apps only; there is no support included for universal / server-side rendering. I plan to release my own SSR kit shortly!

Please note: Boilerplate does not incorporate the latest "css-in-js" or "css modules" technique. Instead, the more traditional approach is taken, wherein styles and scripts are kept separate. That said, you may certainly and easily take that route if desired. ✅


⚠️ Boilerplate & commands will evolve as my own development process does. ⚠️


Install

git clone https://github.com/lukeed/preact-starter
cd preact-starter
npm install
npm run build
npm start

❗️ Pro Tip: Use Yarn to install dependencies 3x faster than NPM!

Features

  • Offline Caching (via serviceWorker)

  • SASS & Autoprefixer

  • Asset Versioning (aka "cache-busting")

  • ES2015 (ES6) and ES2016 (ES7) support

  • Hot Module Replacement (HMR) for all files

  • Preact's Developer Tools

  • Lighthouse certified

    lightouse

Development

Commands

Any of the following commands can (and should 😉) be run from the command line.

If using Yarn, all instances of npm can be replaced with yarn. 👌

build

$ npm run build

Compiles all files. Output is sent to the dist directory.

start

$ npm start

Runs your application (from the dist directory) in the browser.

watch

$ npm run watch

Like start, but will auto-compile & auto-reload the server after any file changes within the src directory.

Preact Developer Tools

You can inspect and modify the state of your Preact UI components at runtime using the React Developer Tools browser extension.

  1. Install the React Developer Tools extension
  2. Import the preact/devtools module in your app
  3. Reload and go to the 'React' tab in the browser's development tools

License

MIT © Luke Edwards

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].