Skip to content

tojeiro-me/Plasttic-boilerplate

Repository files navigation

Plasttic

Plasttic HTML Boilerplate

A professional and extensible HTML5 starter template.

npmnpmLICENSETwitter Follow


About

For every web project, a complete, updated and extensible starting point is essential.

This boilerplate is an HTML template that provides the necessary information to search engines and social media sites, PWA development and more, with a performance strategy.

  • Meta tags for SEO.
  • Meta tags for Social Media sharing.
  • Google Tag Manager script
  • Google Analytics script.
  • Browser icons.
  • PWA icons and information.
  • Performance:
    • Preload images tag
    • Local hosted fonts preload tags.
    • Google Fonts tags with preconnect.
    • Javascript with defer.
  • A simple 404 error page.
  • A CSS file with styling for print.
  • CSS Reset stylesheet link from Plasttic CSS Reset.

Note: also includes optional starter CSS, JS, Fonts and Social Icons.

The HTML boilerplate was the start of the Plasttic Workflow project.


Start

  1. Quick Start
(cd into your projects folder)
npx create-plasttic-boilerplate
cd <project-name>
  • Installs the necessary dependencies
  • Creates a folder with the project name you defined
  • Downloads and installs the latest version of Plasttic HTML Boilerplate
  • Customize (see below)
  1. Download

  2. Github New Repo

  3. Snippet


Customize

Documentation 🚧: until it's not live, the boilerplate file is filled with comments and resource links.

  • Search for "TODO:" in comments, relative to the information that needs to be changed or checked.
  • Some information is global, some should be defined per page.
  • If .##gitignore## exists, rename it to .gitignore and customize to your project info.
  • If using VS Code, use the Todo Tree extension or TODO Highlight, and Better Comments

Follow


TwitterMastodonGithub


License

MIT


Plasttic