Skip to content

Instantly share code, notes, and snippets.

@ypcode
Created September 22, 2019 20:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ypcode/3bb93a8eeb912ebd241efdee2fd3f1b9 to your computer and use it in GitHub Desktop.
Save ypcode/3bb93a8eeb912ebd241efdee2fd3f1b9 to your computer and use it in GitHub Desktop.
{
"$schema": "https://developer.microsoft.com/json-schemas/spfx/client-side-web-part-manifest.schema.json",
"id": "85c66304-0802-417a-a753-de96fea19565",
"alias": "MySinglePageAppWebPart",
"componentType": "WebPart",
// The "*" signifies that the version should be taken from the package.json
"version": "*",
"manifestVersion": 2,
// If true, the component can only be installed on sites where Custom Script is allowed.
// Components that allow authors to embed arbitrary script code should set this to true.
// https://support.office.com/en-us/article/Turn-scripting-capabilities-on-or-off-1f2c515f-5d7e-448a-9fd7-835da935584f
"requiresCustomScript": false,
"hiddenFromToolbox": true,
"supportedHosts": ["SharePointWebPart"],
"preconfiguredEntries": [{
"groupId": "5c03119e-3074-46fd-976b-c60198311f70", // Other
"group": { "default": "Other" },
"title": { "default": "MySPA" },
"description": { "default": "A Single Page Application developed with SPFx" },
"officeFabricIconFontName": "Page",
"properties": {
"description": "Hello dear user"
}
}]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment