Skip to content

Instantly share code, notes, and snippets.

@mirontoli
Last active October 2, 2020 06:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mirontoli/55f7a4f9cde6b9cce76a4d4d5a21dff3 to your computer and use it in GitHub Desktop.
Save mirontoli/55f7a4f9cde6b9cce76a4d4d5a21dff3 to your computer and use it in GitHub Desktop.
nvm install 10.21.0 #12.18.2
nvm use 10.21.0 #12.18.2
npm list -g --depth 0
npm i -g gulp yo @microsoft/generator-sharepoint @pnp/office365-cli
yo @microsoft/sharepoint #spfx008
gulp trust-dev-cert
gulp serve # trying out on _layouts/15/workbench.aspx
gulp bundle --ship
gulp package-solution --ship
# deploy
o365 login
o365 spo app add --filePath sharepoint/solution/spfx-008.sppkg --overwrite
o365 spo app deploy -n spfx-008.sppkg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment