mirror of
https://github.com/pnp/sp-dev-fx-webparts.git
synced 2025-02-08 05:58:36 +00:00
34579c2e1a
* handlebarsjs webpack loader sample * removed trashed folder * Updated Package.json * Added ES6 Collections * Update HandlebarJS gulpfile.js * Update to Version 1.4.1 * Update Drop Icon
1.4 KiB
1.4 KiB
SPFx Sample with Handlebars.js
This sample demonstrate how to set up SPFX to use Handlebars through webpack loader.
Used SharePoint Framework Version
Applies to
Solution
Solution | Author(s) |
---|---|
SPFx-Handlebars | Stefan Bauer - n8d (@stfbauer) |
Version history
Version | Date | Comments |
---|---|---|
1.1 | March 21, 2018 | Update to Version 1.4.1 |
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
git clone the repo
npm i
npm i -g gulp
gulp serve
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.