SPFx migrating solution from Online to 2019

 Let me start that is would be much easier to just create a new solution, specify it as an 2019 and copy the code.

But I'm an explorer type of man...

So I did created another solution for 2019 and copied some files

tsconfig.json

package.json

package-lock

.yo-rc.json

under /config, I matched the content of those files (dont copy-paste)

copy-assets.json

package-solution.json


Also in all /src/webparts/<someWP>/<someWP>.manifest.json mark this line

"supportedHosts": ["SharePointWebPart"],

And finally in your code dont use stuff like public listDetails:[]=[] instead just public listDetails=[]





Comments

Post a Comment

Popular posts from this blog

OverTheWire[.com] Natas Walkthrough - JUST HINT, NO SPOILERS

SOLVED The item could not be indexed successfully because the item failed in the indexing subsystem

Asp.Net Ending Response options, Response.End() vs CompleteRequest()