Angular CLI with SPFx (SharePoint Framework)

Sahil Malik · 12K views · 2018 · 12:18

Open on YouTube

Web developmentSoftware (other)tutorialdated

Why SharePoint Stack Exchange recommends it

SharePoint Stack Exchange users link it as a working example of hosting an Angular app in SPFx, both when recommending a starting point and when troubleshooting version upgrades.

Recommended by 1 people across 1 different months, 2018 to 2019.

What it is

A short screencast by Sahil Malik showing how to combine Angular CLI with the SharePoint Framework (SPFx) so an Angular app can run as a SharePoint web part. It accompanies a blog post and a GitHub repo with the working template.

What people said

Recommends VRoth · 2018-07 · SharePoint Stack Exchange · on “Sharepoint Online & Angular (latest)”

I don't know how far you can get with Angular forms but in general Sahil Maliks templates work like a charm for me: [this video] [LINK] [LINK] Angular is a HUGE framework. I learned it here: [LINK] . It took me weeks.

Cites Damien · 2018-08 · SharePoint Stack Exchange · on “Angular 6 and Sharepoint SPFX”

Just wondering if anyone has any samples or links to instructions for running an angular 6 app on Sharepoint SPFX. I have followed this example for Angular 5 but it will not work once I upgrade the angular dependencies [this video] The error I get on the SPFX workbench when I try to add the webpart is [SPLoaderError.loadComponentError]: ***Failed to load component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart). Original error: ***loadComponent() returned an empty object for component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart). ***INNERERROR: ***loadComponent() returned an empty object for component "a884f6f5-e74c-4932-972f-0e1431147413" (AppWebPart). ***CALLSTACK: Error at SPLoaderE

Cites Raghavendra C · 2019-01 · SharePoint Stack Exchange · on “Error in seting up spfx 1.7 with angular 7”

Hi I am setting up a SPFX 1.7 project with Angular 7 using the sample which is done with previous version. [this video] [LINK] [LINK] I am getting below error while builing the application [LINK]