Skip to content

A boilerplate using esbuild for my vanilla-js projects

Notifications You must be signed in to change notification settings

andremarques94/vanilla-js-boilerplate

Repository files navigation

BOILERPLATE FOR JAVASCRIPT VANILLA PROJECTS

NODE >=20.11.1 is required

Installation

npm install

Available scripts

  • npm run dev - runs development server
  • npm run build - builds the project

What it has

  • ESBUILD
  • ESLINT && PRETTIER
  • ROUTING
  • DEV SERVER
  • BUILD SCRIPT

Routing your app

This template uses a file-system based router

  • Add your page in /js/pages folder
  • Routes are created on build time and will have the same name as the file

e.g.

├── pages
    ├── home.js
    └── test
        └── other.js

Will create the following routes:

  • /home
  • /test/other

About

A boilerplate using esbuild for my vanilla-js projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published