Announcing Rust Support in CodeSandbox.

You can now spin up a Rust development environment!

Learn more
Blog chevron_right CodeSandbox
Feb 28, 2018

Introducing the Vanilla Template to CodeSandbox

CodeSandbox got support for the Vanilla template, based on the Parcel bundler.
Introducing the Vanilla Template to CodeSandbox

From day one we've always tied templates to a CLI. The main reason for this is that we want to keep sandboxes simple, you shouldn't need to do any configuration to get started. I didn't want to create a 'Vanilla' template because there was no way to create 'vanilla' web projects without configuration, until recently.


A new bundler called 'Parcel' was released in December by Devon Govett. Parcel is a web application bundler that values zero configuration. They reuse classic web concepts, like using index.html as the entry point of the application, which makes it really easy and intuitive to get started with a new project. You only have to create an index.html and run parcel index.html to get a working application. They automatically detect what kind of web application you're running, and adapt the configuration to that if it's not specifically set.

This is aligns perfectly with the values of CodeSandbox. There is almost no friction to get started, and all the needed configuration is automatically detected & installed. That's why I decided to finally build a Vanilla template and use Parcel as our configuration behind it.

Vanilla Template

We have a new sandbox called vanilla, unlike other sandboxes, this sandbox has index.html as its entry. From this index.html you can add script and link tags to other files and they will be added to the bundle. We support all loaders that Parcel supports, so we support:

We also recognize the difference between:

import styles from "/styles.css";


import "/styles.css";

In the first code block we will generate CSS modules from the CSS file, and in the second block we won't.

You can try it out here:


Like Parcel, we automatically do configuration for you. We automatically detect if you're using React or Preact and will adjust our Babel configuration for it. We do support Babel/TypeScript configuration, so you can also choose to do your own configuration by creating a tsconfig.json or a .babelrc.

GitHub, Zip Extraction & Deployment Integration

Like the other templates, you can create repos, make commits and PRs, download and deploy sandboxes using this template. Without leaving the browser.

Beta Warning

This is our first template that uses HTML as an entry point, so there can be bugs or unintended behaviour that still needs to be solved. Please let us know in the repo if you find any issues!


I want to thank Devon Govett for building this beautiful bundler, I was able to effortlessly build an application in it. Great work!

If you like what we're doing, consider becoming a contributor or a patron! You can stay up to date with CodeSandbox news either on @CompuIves or @codesandbox.

Keep reading about CodeSandbox .

Announcing Rust Support in CodeSandbox
CodeSandbox Jan 19, 2023

Announcing Rust Support in CodeSandbox

Hello, Rust community! You can now spin up a Rust development environment in CodeSandbox.

Introducing Docker Support in CodeSandbox
CodeSandbox Jan 11, 2023

Introducing Docker Support in CodeSandbox

You can now run anything on CodeSandbox with our native Docker support.

Introducing the CodeSandbox GitHub App
CodeSandbox Oct 18, 2022

Introducing the CodeSandbox GitHub App

Learn how you can save hours every week reviewing PRs with the CodeSandbox GitHub App.

A Unified CodeSandbox Experience
CodeSandbox Oct 6, 2022

A Unified CodeSandbox Experience

We're integrating the new experience into CodeSandbox so you can use it to code anything from idea to production.