Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/stfbauer/spfx-handlebars
This sample show how to integrate Handlebars through webpack loader added to SPFX configuration
https://github.com/stfbauer/spfx-handlebars
handlebars handlebars-js sharepoint-framework sp spfx
Last synced: 1 day ago
JSON representation
This sample show how to integrate Handlebars through webpack loader added to SPFX configuration
- Host: GitHub
- URL: https://github.com/stfbauer/spfx-handlebars
- Owner: StfBauer
- Created: 2017-03-06T01:15:55.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2017-03-06T01:33:11.000Z (almost 8 years ago)
- Last Synced: 2024-11-20T17:44:31.000Z (2 months ago)
- Topics: handlebars, handlebars-js, sharepoint-framework, sp, spfx
- Language: TypeScript
- Homepage: http://www.n8d.at/blog/how-to-use-handlebars-in-sharepoint-framework-projects-spfx/
- Size: 12.7 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## SPFx Sample with Handlebars.js
This sample demonstrate how to set up SPFX to use [Handlebars](http://handlebarsjs.com) through [webpack loader](https://webpack.github.io/docs/loaders.html).
## Used SharePoint Framework Version
![drop](https://img.shields.io/badge/drop-GA-green.svg)## Applies to
* [SharePoint Framework Developer](http://dev.office.com/sharepoint/docs/spfx/sharepoint-framework-overview)
* [Office 365 developer tenant](http://dev.office.com/sharepoint/docs/spfx/set-up-your-developer-tenant)## Solution
Solution|Author(s)
--------|---------
SPFx-handlebars | Stefan Bauer - n8d ([@stfbauer](https://twitter.com/stfbauer))## Version history
Version|Date|Comments
-------|----|--------
1.0|March 5, 2017|Initial release## Disclaimer
**THIS CODE IS PROVIDED *AS IS* WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING ANY IMPLIED WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, OR NON-INFRINGEMENT.**### Building the code
```bash
git clone the repo
npm i
npm i -g gulp
gulp
```This package produces the following:
* lib/* - intermediate-stage commonjs build artifacts
* dist/* - the bundled script, along with other resources
* deploy/* - all resources which should be uploaded to a CDN.