I added a new webpart to a spfx solution after it has been deployed to SP online. I repackaged the solution, reuploaded the package to the app catalog and I do not see the newly added webpart in the "Add Webpart" gallery. I completely deleted the app fromt he site and recycle bin and readded the app and the new eb part showed up. Is this(deleting the app and readding) the only way to make newly added webparts in the solutions showup on the site?
First, before packaging, you need to increase the solution version number in the
package-solution.json. (also make sure your new components are listed in the
Then bundle the solution and install it into the app catalog (drag and drop the sppkg file).
Once that is done, on the sites you already installed the solution on, you should be able to upgrade the solution (by going to the site collection, site content, clicking on the … next to the solution name and details).
Once the upgrade is done, the new webparts should be available.
write-manifest.json are configured and if you don't have
"includeClientSideAssets": true, in your
Here is a link to the documentation
According to the article from Microsoft it should be to bundle the new js files and then create a new package and upload them both to where they belong.
If this is what you have tried, there may be some sort of cache issue?