Forum Discussion

ejagmtg's avatar
ejagmtg
Copper Contributor
Jul 22, 2020
Solved

How to set a path of asset library in spfx web part?

Hi, I'm trying to use SharePoint asset folder for js files (webpart\temp\deploy) that generate with the web part. I added that path in the CDN but I'm still getting this on deployment that client si...
  • ejagmtg's avatar
    Jul 23, 2020

    ejagmtg Use SharePoint frame work 1.4 or higher, if we do that then we can just include an option "includeClientSideAssets"true in Package-solution.json , that include all asset files with the package solution file and then you can just upload one file to the app catalog and all set with the webpart.

Resources