Skip to content

Boilerplate for front-end prototyping with no build system

Notifications You must be signed in to change notification settings

thoughtis/prototyping-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Prototyping Boilerplate

This is a quick alternative to either browser based IDEs or setting up a build system every time you want to experiment.

It makes the assumption that you are using a modern browser which supports both ES Modules and CSS Custom Properties. If your prototype is a success, you can package those same modules using your build system of choice.

Minimal Requirements

  • Git
  • HTTP server of choice

Get Started

  • $ git clone https://github.com/thoughtis/prototyping-boilerplate.git your-project-name

Local Web Server

  • If you have PHP or Python installed, you can use their built in HTTP server without installing anything else.
  • Otherwise
    • npm install
    • npm run start to serve locally using local-web-server

Scripting

This boilerplate uses ECMAScript Modules in the browser. See this post on Jake Archibald's blog for more info on how to use them this way.

Note: My example modules use strict mode in each module. This is a personal choice and may not be required.

Styling

No magic here, just use custom properties if you need variables, and you can get them ready for production later.

About

Boilerplate for front-end prototyping with no build system

Resources

Stars

Watchers

Forks

Packages

No packages published