/spfx-codespaces

Sample repo for SPFx in Codespaces

Primary LanguageTypeScriptMIT LicenseMIT

spfx-codespaces

Repo to demonstrate the .devcontainer configuration for SPFx projects in Visual Studio Codespaces.

Configuration files

Configuring the codespace is accomplished via JSON files/scripts. This repository uses the folder approach.

workspace 
├── .devcontainer
│   ├── devcontainer.json
│   ├── spfx-setup.sh

The JSON file contains a reference to the script, which is run as a postCreateCommand.