What is vanilla framwork

Godson PrakasiaGodson Prakasia
1 min read

Great question! The term “vanilla” in web development doesn’t refer to a framework—it’s actually the absence of a framework.


🍦 What is “Vanilla” JavaScript?

Vanilla JavaScript means using plain, native JavaScript without any libraries (like React, Vue, or jQuery).

• Same goes for Vanilla HTML/CSS—just regular HTML and CSS without frameworks like Bootstrap or Tailwind.


⚙️ In Vite:

When you choose Vanilla during the Vite setup, you’re telling Vite:

“Hey, I want a basic setup using just HTML, CSS, and JavaScript (or TypeScript). No frameworks.”


✅ When to use Vanilla:

• You’re building a small or lightweight app.

• You want full control without learning a framework.

• You’re learning the fundamentals of web development.


🔁 Example Vite Setup Options:

✔ Select a framework:
  > Vanilla
    Vue
    React
    Svelte
    etc.

✔ Select a variant:
  > JavaScript
    TypeScript

If you choose Vanilla + JavaScript, Vite sets up a project using just the basics.


0
Subscribe to my newsletter

Read articles from Godson Prakasia directly inside your inbox. Subscribe to the newsletter, and don't miss out.

Written by

Godson Prakasia
Godson Prakasia