With the SharePoint Framework Toolkit extension, you can create and manage your SharePoint Framework solutions on your tenant. All actions you need to perform during the development flow are at your fingertips.
The extension could check if the current project has a .devcontainer and if not it could suggest generating one. Also this could be added as a new action (similar like the pipelines).
The added devcointaner could be based on those created in the pnp script sample repo.
🤔 Additional remarks or comments
We should recheck if the docker image used in the container may set any kind of SPFx version
🎯 Aim of the feature
The extension could check if the current project has a .devcontainer and if not it could suggest generating one. Also this could be added as a new action (similar like the pipelines). The added devcointaner could be based on those created in the pnp script sample repo.
🤔 Additional remarks or comments
We should recheck if the docker image used in the container may set any kind of SPFx version
Also we could first focus on this CLI for M365 issue to extend this as a new command in CLI first and then create it as a new action in viva toolkit https://github.com/pnp/cli-microsoft365/issues/3098