Content
PWA
Progressive Web App manifest configuration with icon definitions and display settings.
Supported frameworks
What create-faster adds
Files added:
src/app/
└── manifest.ts # Web app manifest config
public/
├── icon-192x192.png # PWA icon
└── icon-512x512.png # PWA iconmanifest.ts
Web app manifest configuration:
import type { MetadataRoute } from 'next';
export default function manifest(): MetadataRoute.Manifest {
return {
name: 'my-app',
short_name: 'my-app',
description: 'A Progressive Web App built with Next.js',
start_url: '/',
display: 'standalone',
background_color: '#ffffff',
theme_color: '#000000',
icons: [
{
src: '/icon-192x192.png',
sizes: '192x192',
type: 'image/png',
},
{
src: '/icon-512x512.png',
sizes: '512x512',
type: 'image/png',
},
],
};
}App name and short name use your project name.

