Share via

Develop SPFX react project offline

daryush salahshur 136 Reputation points
2021-11-12T22:26:57.033+00:00

Hi,

In a long and difficult process, I finally managed to make my first web part with SPFX in an on promise 2019 sharepoint , but a friend said that using Ricket makes it easier. I finally want to create webparts in an intranet and a SharePoint 2019.
I don't know Is it possible to work offline with React, so I want to create a project on the Internet and move the folder to the offline environment and I want to continue developing the project offline ? Is this practical?

I am beginner in sharepoint development and I need a simple solution for this issue. I appreciae if anybody have any practical artical for my problem.

Best Regards,
Daryush

Microsoft 365 and Office | SharePoint | Development
0 comments No comments

Answer accepted by question author

RaytheonXie_MSFT 40,496 Reputation points Microsoft External Staff
2021-11-15T05:51:40.987+00:00

Hi @daryush salahshur ,
SharePoint 2019 supports SharePoint Framework client-side web parts hosted on classic or modern SharePoint pages built by using the SharePoint Framework v1.4.1. SharePoint 2019 also supports SharePoint Framework extensions hosted on modern SharePoint pages built using SharePoint Framework v1.4.1. So SharePoint Framework v1.4.1 and gulp, node version support spfx 1.4.1 is required mentioned in the document
https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-2019-support

Here is sample for react:
https://pnp.github.io/sp-dev-fx-controls-react/controls/PeoplePicker/


If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Was this answer helpful?

1 person found this answer helpful.
0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.