Is it possible to package the branding files (CSS, JS, images, ..), custom masterpage and custom layouts and upload them to SharePoint using SharePoint framework (SPFx)?

1 Answer 1


The SharePoint Modern experience does not have a notion of a customizable page layout as of today.
Here is a documentation tutorial on how to include additional information architecture elements in a SPFx solution (like columns and lists) and here is a blog post on how to include additional assets (like JavaScript or CSS files).

  • I am using SPFx in classic sites and classic pages because I need to customize the branding. In .wsp solutions we were using “modules “ to upload files to specific paths, is there an alternative here? Commented Mar 8, 2019 at 17:24
  • SPFx will allow you to upload files. The classic experience however it will only show up webparts, from SPFx (extensions and ui actions built with SPFx are not supported in classic), and that might be less than ideal for global components. You can always provision things using PnP Provisioning instead.
    – baywet
    Commented Mar 8, 2019 at 18:09
  • SPFx allows to upload files to SharePoint Style library and Masterpages gallery? How we do this? Commented Mar 8, 2019 at 18:16
  • sharepoint.stackexchange.com/questions/226589/…
    – baywet
    Commented Mar 8, 2019 at 19:30
  • Thank you very much, I am trying this solution but this error appears: “property assets is not allowed “, should I add it in a feature? Commented Mar 8, 2019 at 19:59

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.