This is the code repository for SharePoint Development with the SharePoint Framework, published by Packt. It contains all the supporting project files necessary to work through the book from start to finish.
SharePoint is one of Microsoft's best known web platforms. A loyal audience of developers, IT Pros and power users use it to build line of business solutions. The SharePoint Framework (SPFx) is a new option for developing SharePoint solutions. SPFx is still nascent, and many developers are creating full-trust based solutions or add-in solutions, while also having to figure out where and how SPFx fits in the big picture.
All of the codes are organized as per the chapters, each folder has the codes related to that chapter or appendix.
For example: SharePoint-Development-with-the-SharePoint-Framework/Chapter10/spfx-hello-knockout/src/webparts/helloKnockout/HelloKnockout.template.html
The code will look like the following:
<span class="ms-font-xl ms-fontColor-white">Welcome to SharePoint!</span>
<p class="ms-font-l ms-fontColor-white">Customize SharePoint experiences using Web Parts.</p>
<p class="ms-font-l ms-fontColor-white" data-bind="text:description"></p>
<a href="https://aka.ms/spfx" data-bind="attr: {class:buttonClass}">
<span data-bind="attr: {class:labelClass}">Learn more</span>