UNPKG

@davidlj95/ngx-meta

Version:

Set your Angular site's metadata: standard meta tags, Open Graph, Twitter Cards, JSON-LD structured data and more. Supports SSR (and Angular Universal). Use a service. Use routes' data. Set it up in a flash! 🚀

65 lines (64 loc) • 1.92 kB
{ "$schema": "http://json-schema.org/draft-07/schema", "$id": "ngx-meta-ng-add", "title": "ngx-meta ng-add schematic", "type": "object", "properties": { "project": { "type": "string", "description": "Name of the project.", "$default": { "$source": "projectName" } }, "routing": { "type": "boolean", "description": "Enables routing module to provide metadata in Angular routes' data", "default": false, "x-prompt": "Would you like to provide metadata in Angular routes' data?" }, "metadataModules": { "type": "array", "description": "Built-in metadata modules to use", "items": { "type": "string", "enum": [ "json-ld", "open-graph", "open-graph-profile", "standard", "twitter-card" ] }, "uniqueItems": true, "default": [], "x-prompt": { "type": "list", "message": "What metadata would you like to set?", "items": [ { "label": "JSON-LD [ https://ngx-meta.dev/built-in-modules/json-ld/ ]", "value": "json-ld" }, { "label": "Open Graph [ https://ngx-meta.dev/built-in-modules/open-graph/ ]", "value": "open-graph" }, { "label": "Open Graph's profile [ https://ngx-meta.dev/built-in-modules/open-graph/#profile ]", "value": "open-graph-profile" }, { "label": "Standard [ https://ngx-meta.dev/built-in-modules/standard/ ]", "value": "standard" }, { "label": "Twitter Card [ https://ngx-meta.dev/built-in-modules/twitter-cards/ ]", "value": "twitter-card" } ] } } }, "required": [] }