How to create a SharePoint SPFX package ?

Mai-Lynn LIEN 5 Reputation points
2023-06-06T06:08:50.4333333+00:00

How to create a SharePoint SPFX package ?

SharePoint
SharePoint
A group of Microsoft Products and technologies used for sharing and managing content, knowledge, and applications.
10,965 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. RaytheonXie_MSFT 36,821 Reputation points Microsoft Vendor
    2023-06-06T07:27:31.05+00:00

    Hi @Mai-Lynn LIEN

    To create a SharePoint SPFx (SharePoint Framework) package, you will need to package the Solution. Once you are satisfied with the development and testing, you can package the solution for deployment to SharePoint. Please run the following command to create a production-ready package:

    gulp bundle --ship
    gulp package-solution --ship
    

    Here is the document for more details

    https://learn.microsoft.com/en-us/sharepoint/dev/spfx/web-parts/get-started/serve-your-web-part-in-a-sharepoint-page


    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.


Your answer

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