VS Code Remote Development Container: Svelte
This is a VS Code Remote - Container for Svelte web app development.
Setting up the development container
Follow these steps to open this sample in a container:
-
If this is your first time using a development container, please follow the getting started steps.
-
To start development with this container:
-
Clone this repository to your local filesystem.
NOTE: Replace 'my-project' below with the name of your project
git clone https://github.com/patrickneise/vscode-remote-svelte.git my-project
-
Update the remote URL for the cloned repo to your projects repository.
-
Press F1 and select the Remote-Containers: Open Folder in Container... command.
-
Select the cloned copy of this folder, wait for the container to start, and start developing!
-
Development in the container
The container has the following installed:
- Svelte with the Svelte project template as a starter.
- VSCode Extensions installed in the container
- Exposed ports
5000
for development server35729
for hot reload
Start the development server:
yarn dev