Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
First Handlebars web part demo sample
- Loading branch information
Showing
10 changed files
with
370 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// copy-static-assets.json | ||
{ | ||
"includeExtensions": [ | ||
"hbs" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<div class="{{styles.helloWorld}}"> | ||
<div class="{{styles.container}}"> | ||
<div class="ms-Grid-row ms-bgColor-themeDark ms-fontColor-white {{styles.row}}"> | ||
<div class="ms-Grid-col ms-u-lg10 ms-u-xl8 ms-u-xlPush2 ms-u-lgPush1"> | ||
<span class="ms-font-xl ms-fontColor-white">Welcome to SharePoint!</span> | ||
<p class="ms-font-l ms-fontColor-white">Customize SharePoint experiences using Web Parts.</p> | ||
<p class="ms-font-l ms-fontColor-white">{{description}}</p> | ||
<a href="https://aka.ms/spfx" class="{{styles.button}}"> | ||
<span class="{{styles.label}}">Learn more</span> | ||
</a> | ||
</div> | ||
</div> | ||
</div> | ||
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"globalDependencies": { | ||
"handlebars": "registry:dt/handlebars#4.0.5+20160810231743" | ||
} | ||
} |
Oops, something went wrong.