/millimetr-default

🔨 A base starting template for millimetr projects

Primary LanguageHTML

🔨 millimetr-default

This is a basic millimetr starting template.

It intentionally has as little configuration and integrations as possible - allowing you to configure it how you want from the ground up. See the template in action at https://millimetr-default.netlify.app

Note that the CSS selectors in this demo follow the BEM convention. However you are welcome to restructure them according to your preferences.

Getting started

  1. git clone https://github.com/millimetr/millimetr-default.git
  2. npm install
  3. npm start

Principles

  • 📄 HTML templates are written in EJS
  • 🤖 The millimetr.config.js file is central to this starter.
  • 👓 No hidden behaviour, everything is documented via millimetr.config.js file.

Example routes

This starting template starts with three routes:

  • /: The basic landing-route.
  • /hardcoded: Illustrates how hardcoded values can be passed to route templates.
  • /dynamic: Illustrates how dynamically generated values can be passed to route templates.
  • /remote: Illustrates how remote data can be fetched and passed to route templates.