Skip to content

Commit 469ce24

Browse files
committed
Updating notes on SPFx usage with SP2016 around the includeClientSideAssets attribute
1 parent 89db79e commit 469ce24

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/spfx/sharepoint-2016-support.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: SharePoint Framework development with SharePoint 2016 Feature Pack 2
3-
ms.date: 09/25/2017
3+
ms.date: 1/2/2018
44
---
55

66
# SharePoint Framework development with SharePoint 2016 Feature Pack 2
@@ -21,6 +21,9 @@ If you are planning to use the same client-side web parts in both SharePoint 201
2121

2222
Starting from version 1.3, the SharePoint Framework Yeoman generator supports scaffolding solutions both that use the latest version of the SharePoint Framework meant for use with SharePoint Online, and solutions that can be used also with SharePoint on-premises based on the v1.1.0 of the SharePoint Framework. You don't need to install a separate version of the SharePoint Framework Yeoman generator to scaffold solutions meant for use with SharePoint on-premises.
2323

24+
> [!IMPORTANT]
25+
> Starting from version 1.4, the SharePoint Framework Yeoman generator supports new attribute of `includeClientSideAssets`, which can be used to indicate that assets should be included in the *sppkg* package. This capability is however only currently supported in SharePoint Online. When solution is targeted to on-premises, this attribute in `package-solution.json` should be updated as `false`.
26+
2427
## Hosting your SharePoint Framework solution for on-premises deployment
2528

2629
Getting SharePoint Framework client-side web parts deployed to on-premises requires two distinct actions:

docs/spfx/web-parts/get-started/hosting-webpart-from-office-365-cdn.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
---
22
title: Hosting client-side web part from Office 365 CDN
3-
ms.date: 12/11/2017
3+
ms.date: 1/2/2018
44
ms.prod: sharepoint
55
---
66

@@ -12,6 +12,9 @@ This article describes how to host your client-side web part from Office 365 CDN
1212
> [!NOTE]
1313
> There are multiple different hosting options for your web part assets. This tutorial concentrates on showing the Office 365 CDN option, but you could also use the [Azure CDN](./deploy-web-part-to-cdn.md) or simply host your assets from SharePoint library from your tenant. In the latter case, you would not benefit from the CDN performance improvements, but that would also work from the functionality perspective. Any ___location which end users can access using HTTP(S) would be technically suitable for hosting the assets for end users.
1414
15+
> [!IMPORTANT]
16+
> This article uses `includeClientSideAssets` attribute, which was introduced in the SPFx v1.4. This version is not supported with **SharePoint 2016 Feature Pack 2**. If you are using on-premises setup, you need to decide the CDN hosting ___location separately. You can also simply host the JavaScript files from centralized library in your on-premises SharePoint which your users have access. Please see additional considerations from the [SharePoint 2016 specific guidance](../../sharepoint-2016-support.md).
17+
1518
## Prerequisites
1619

1720
Make sure that you have completed the following tasks before you begin:

0 commit comments

Comments
 (0)