Giter Club home page Giter Club logo

next-pwa-template's Introduction

Rice Bowl

Next PWA Template

Fluffless app template to inspire less

Live demo

100% lighthouse scores

Features

  • โœจ Fluffless PWA using Next 13
  • ๐ŸŒ— Lovely night/day themes
  • ๐Ÿฆ„ Easily removable nice-to-haves
  • ๐Ÿ“ฑ Native-like mobile experience
  • ๐Ÿ“ฆ Neatly wrapped like that avocado you got for christmas

Getting started

  1. Use this template
  2. Replace public/images with your own
  3. Enjoy โœจ

Use only what you need

Fluffless doesn't mean "start with nothing". The goal of this template is to be an entry into maintainable apps.

The essentials

  • Typescript, made easy with Next.js
  • tailwindcss for utility-first styling
  • next-pwa for offline support

Nice to haves

Gallery

Desktop

Rice Bowl PWA on macOS in dark mode

Mobile

Rice Bowl PWA on iOS in light mode Rice Bowl PWA on iOS in dark mode

next-pwa-template's People

Contributors

dependabot[bot] avatar mvllow avatar nathanjms avatar rsipakov avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

next-pwa-template's Issues

Consider using Tailwind JIT

Awesome template! You might consider using Tailwind JIT for improved HRM performance (will be the default in the next major version)

PWA not working on Next 12

On Next.js version 12, the service worker does not install and there is an error in the console:

Uncaught (in promise) bad-precaching-response: bad-precaching-response :: [{"url":"https://next-pwa-template.vercel.app/_next/server/middleware-manifest.json","status":404}]
    at Y.j (https://next-pwa-template.vercel.app/workbox-4a677df8.js:1:16755)
    at async Y.D (https://next-pwa-template.vercel.app/workbox-4a677df8.js:1:16353)
    at async Y.v (https://next-pwa-template.vercel.app/workbox-4a677df8.js:1:7595)

Upgrade to Next 11

Would like to explore what differences (if any) the default create-next-app provide when using v11. This should include things like the conformance updates (lint rules and such) as well as showcasing the new next/script and improved next/image.

How to use next-pwa with axiom and the bundle analyzer in esm

Hi, I actually was not able to implement next-pwa into my esm config alongside the bundle analyzer and axiom.

I looked at this template to solve the problem, but I was not able to get it working

import { withAxiom } from 'next-axiom'
import withBundleAnalyzer from '@next/bundle-analyzer'
import pkg from './next-i18next.config.js'
const { i18n } = pkg

// create the bundle analyzer config
const withMyBundleAnalyzer = withBundleAnalyzer({
  enabled: process.env.ANALYZE === 'true'
})

/**
 * Run `build` or `dev` with `SKIP_ENV_VALIDATION` to skip env validation.
 * This is especially useful for Docker builds.
 */
!process.env.SKIP_ENV_VALIDATION && (await import('./src/env.mjs'))

/** @type {import("next").NextConfig} */
const config = withMyBundleAnalyzer(
  withAxiom({
    reactStrictMode: true,
    i18n
  })
)
export default config

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.