Hi,
I've created a starter application for SPEAK3 development. Source is available on GitHub.
This starter application is based on offical SPEAK3 reference application which is available on the Sitecore's page.
I've created a starter application for SPEAK3 development. Source is available on GitHub.
This starter application is based on offical SPEAK3 reference application which is available on the Sitecore's page.
Starter template has the following features
- app.module.ts contains several Sitecore SPEAK component import
- You can check what different components look like in this repository
- Sample service page which has a sample service
- Sample service consumes mock service in disconnected mode
- A sample datacontract
- Sample mock service which produces mock data in disconnected mode
How to use Starter template
- Clone Github repository
- run npm install command in the project directory
- run npm run start to run project in disconnected mode
- Open http://localhost:4123 in your browser
How to build starter application and add to your Sitecore
- Run npm build command in project directory
- Copy <projectroot>\dist folders content to <sitecoreInstance>\shell\client\applications\startertemplate folder
- Open your browser: http://<sitecoreInstance>/sitecore/shell/client/Applications/StarterTemplate
- SPEAK starter application runs within Sitecore, consumes Sitecore's services, like LogoutService, and sc-account-information component shows the logged in sitecore user
Rename the application
- Open the package.json file
- Update the build command's --base-href parameter
- Open the index.html and change the text within the <title> tag
- Open the app.component.html and change the appName attribute on sc-global-header component
- Build your application and copy files to <sitecoreInstance>\shell\client\applications\<yourAppName> folder
- Open your application by calling http://<sitecoreIstance>/sitecore/shell/client/Applications/<yourAppName>
- Now you can add a shortcut to Sitecore's Launchpad
Hopefully more Sitecore SPEAK3 related content is coming on this blog, stay tuned!
Thank you for sharing wonderful information with us to get some idea about that content.
ReplyDeleteSitecore Online Training
Sitecore Training in Hyderabad
Very Informative! To know more on sitecore certification
ReplyDelete