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=[]
VinicYthe_boOlathe Carrie Hanneken download
ReplyDeletespoondanihack