A few simple files to illustrate how easy it is to tie into Sitecore JSS.
- An
index.html
as the root page - An
app.js
file for the angular - A custom pipeline and config to augment the data coming back
It uses Angular to call out to a Sitecore instance with the necesary downloads and serves up content from Sitecore thru the layoutsvc
-
Sitecore 9
-
A home page and an About Us page in the Sitecore instance.
- If you are going headless (pros and cons of headless)
- If you have developers with strong JavaScript chops and limited .net/mvc devs
Should be as easy as:
-
Clone, download, whatever, just get these files to your computer
-
Drop this into a webserver (IIS, Apache, whatever)
-
Hit the
index.html
home page. -
If you want to use the pipeline, fire up a VS solution/project, build and deploy the binary and config.