Skip to content

Add manifest.ts file  #606

@NiallJoeMaher

Description

@NiallJoeMaher

Context

With Next 13, there is a new way to handle manifest data:
https://nextjs.org/docs/app/api-reference/file-conventions/metadata/manifest

Expected Behavior

Have a manifest.ts file with some good baseline standards.

Here's what you will need:

import { MetadataRoute } from 'next'
 
export default function manifest(): MetadataRoute.Manifest {
  return {
    name: 'Codú',
    short_name: 'Codú',
    description: 'A free network and community for web developers. Learn and grow together.',
    start_url: '.',
    display: 'standalone',
    background_color: '#fff',
    theme_color: '#fff',
    icons: [
      {
        src: '/favicon.ico',
        sizes: 'any',
        type: 'image/x-icon',
      },
    ],
  }
}

Current Behavior

This isn't implemented.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions