Forum Discussion
john john
Dec 29, 2018Iron Contributor
"includeClientSideAssets" is not working when i deploy our client-side web part
I am trying to deploy our client side web part, and this web part uses CSS & JavaScript files. where i am following steps similar to this https://docs.microsoft.com/en-us/sharepoint/dev/spfx/web-part...
john john
Jan 11, 2019Iron Contributor
NotAlex wrote:This will only work if your project is created for SharePoint online and not "Share Point 2016 and later".
In your write-manifest have you modified the cdnBasePath? If so set it back to the below otherwise it will fail
{"cdnBasePath": "<!-- PATH TO CDN -->"}Also include assets should be set to true"includeClientSideAssets": true,Hope that helps
thanks for the reply. yes i am working with sharepoint online and not sharepoint 2016...
NotAlex
Jan 11, 2019Iron Contributor
There are 2 options in to Yomen generator so thats why I asked that, one is for SharePoint online only and the other is for both.
Did you check the values in the solution?