Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/b14ck0ps/spfx-onprem-sp2016-react-template
https://github.com/b14ck0ps/spfx-onprem-sp2016-react-template
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/b14ck0ps/spfx-onprem-sp2016-react-template
- Owner: b14ck0ps
- Created: 2023-10-18T18:31:12.000Z (about 1 year ago)
- Default Branch: master
- Last Pushed: 2023-10-18T18:50:51.000Z (about 1 year ago)
- Last Synced: 2023-10-18T19:39:33.053Z (about 1 year ago)
- Language: TypeScript
- Size: 946 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# SharePoint Framework (SPFx) Project Setup
_Author: Azran__Framework: SharePoint Framework (SPFx) 1.6.0 X React_
_Server: SharePoint 2016 On-Premises_
This guide will help you set up and run SharePoint Framework (SPFx) projects using the following dependencies:
- `@microsoft/[email protected]`
- `[email protected]`
- `[email protected]`
- `[email protected]`## Prerequisites
Before getting started, ensure you have the following installed on your system:
- Node.js (Version 8.17.0)
- npm (Version 6.13.4)## Disable HTTP/2 for Node.js 8.17.0
If you are working with Node.js version 8.17.0 and need to disable HTTP/2, you can set the `NODE_NO_HTTP2` environment variable. To do this, run the following command:
```bash
export NODE_NO_HTTP2=1
```
## Project Setup1. Install Yeoman (yo) and SharePoint generator:
```bash
npm install -g yo @microsoft/[email protected]
```2. Create a new SPFx project:
```bash
yo @microsoft/sharepoint
```3. Follow the prompts to configure your SPFx project.
4. Install Gulp CLI:
```bash
npm install -g [email protected]
```5. Run the development server:
```bash
gulp serve
```This will start the development server for your SPFx project.
## Additional Information
- Make sure to customize the project settings and configurations based on your project requirements.
- Refer to the official SharePoint Framework documentation for more details: [SPFx Documentation](https://docs.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview)