• Stars
    star
    111
  • Rank 314,510 (Top 7 %)
  • Language
    HTML
  • Created almost 6 years ago
  • Updated almost 2 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

Front-end Boilerplate | Gulp 4 + Webpack 4 + Babel + ITCSS Architecture + BEM Methodology + Twig.js

There is a slightly different approach based on Utility CSS. Check it out https://github.com/tomaszbujnowicz/hybrid-utility-itcss

Frontie Webpack - Front-end Boilerplate

πŸš€ Gulp 4 + Webpack 4 + Babel + BrowserSync + ITCSS Architecture + BEM Methodology

These tools make it a solid front-end boilerplate to get a new project off the ground.

🎁 Features

Features Description
Task Runner Gulp
CSS SASS, ITCSS, CSS Guidelines, BEM
CSS Tools Autoprefixer, Source Maps, Stylelint
Bootstrap 4 Grid System, Responsive Breakpoints
JS Webpack, Babel, ESLint
Live Reload BrowserSync
HTML Templates Twig.js
Deployment GitHub Pages

Usage

Requirements

Make sure all dependencies have been installed before moving on:

Quick start: Installation

Clone this repository and run

  • yarn or npm install to install dependencies

Tasks

Task Name Description Environment
yarn start or npm run start Generate a development environment, start the server and watch for changes Development
yarn watch or npm run watch Start the server and watch for changes Development
yarn build or npm run build Compile production code Production
yarn deploy or npm run deploy Compile production code and deploy to GitHub Pages Production

Structure

|--dist/                   # β†’  Static version of the website ready to upload (never edit)
|
|--gulpfile.babel.js/      # β†’  Gulpfile config and tasks
|--node_modules/           # β†’  Node.js packages (never edit)
|--src/                    # β†’  Source files
|  |--assets/              # β†’  Assets
|  |  |--fonts/            # β†’  Assets: Fonts
|  |  |--img/              # β†’  Assets: Images
|  |--modules/             # β†’  Modules: Multi-part components e.g. Navbar (HTML, CSS and JS)
|  |--scripts/             # β†’  JS
|  |  |--components/       # β†’  JS: Components
|  |  |--app.js            # β†’  JS: Main file
|  |--styles/              # β†’  Styles: ITCSS Architecture + BEM Methodology
|  |  |--main.scss         # β†’  Styles: Main stylesheet file
|  |--templates/           # β†’  Site templates (Twig.js)
|  |  |--layouts/          # β†’  Templates: Layouts
|  |  |--components/       # β†’  Templates: Components
|  |  |--pages/            # β†’  Templates: Pages
|--.babelrc                # β†’  Babel presets
|--.browserslistrc         # β†’  Browserslist config, browsers that we support
|--.eslintrc               # β†’  ESLint config
|--.gitignore              # β†’  Gitignore
|--.stylelintrc            # β†’  Stylelint config
|--package-lock.json       # β†’  NPM lock file (never edit)
|--package.json            # β†’  Node.js dependencies and scripts
|--webpack.config.js       # β†’  Webpack config
|--yarn.lock               # β†’  Yarn lock file (never edit)

Copyright and license

Copyright 2018-2019 Tomasz Bujnowicz under the MIT license.

More Repositories

1

shopify-slater-tailwindcss

Shopify Starter Theme + TailwindCSS with PurgeCSS
CSS
41
star
2

vanilla-js-drawer

A dependency-free Vanilla JS drawer. No dependencies, no automation build tools.
HTML
31
star
3

frontie

Frontie is a front-end boilerplate. Gulp | Twig.js | Sass | Autoprefixer | Browsersync | Bootstrap 4 Grid System & Responsive Breakpoints
CSS
30
star
4

hybrid-utility-itcss

Hybrid Utility ITCSS - Front-end Boilerplate | ITCSS Architecture + CSS Utilities + Gulp 4 + Webpack 4 + Babel + Live Reload + Twig.js
Twig
27
star
5

vanilla-js-tailwindcss-modal

A dependency-free Vanilla JS TailwindCSS modal and drawer. No dependencies, no automation build tools.
HTML
19
star
6

tailwindcss-starter

TailwindCSS starter - minimal boilerplate for building static pages based on Laravel Mix, TailwindCSS, and ES6 Vanilla JS components.
JavaScript
19
star
7

html5-boilerplate-gulp-less

HTML5 Boilerplate enhanced with LESS and Gulp.js including BrowserSync plugin
JavaScript
13
star
8

vanilla-js-modal

A dependency-free Vanilla JS modal. No dependencies, no automation build tools.
HTML
7
star
9

tailwindcss-minimal-setup

TailwindCSS Minimal Setup | Setup Tailwind CSS in 20 seconds without node_modules
CSS
7
star
10

vanilla-js-read-more-less

A dependency-free Vanilla JS read more/less functionality. No dependencies, no automation build tools.
HTML
6
star
11

frontie-susty

Gulp 4 + Webpack 4 + Babel + BrowserSync + Sass + ITCSS Architecture + BEM Methodology + Twig.js | Frontie Webpack - Front-end Boilerplate + Starter WordPress Theme
CSS
5
star
12

vanilla-js-accordion-menu-nested

A dependency-free Vanilla JS Accordion Menu Nested
HTML
4
star
13

sass-js-compilation

Simple setup for Sass and JS compilation using Laravel Mix. I use when I need to quickly compile these assets when e.g. working on barebone builds.
JavaScript
2
star
14

vanilla-js-accordion

A dependency-free Vanilla JS accordion. No dependencies, no automation build tools.
JavaScript
2
star
15

vanilla-js-accordion-menu

A dependency-free Vanilla JS Accordion Menu
HTML
1
star
16

frontie-bootstrap4

Bootstrap 4.1.3 | Gulp | Twig.js | Autoprefixer | Browsersync
JavaScript
1
star
17

index-page

The responsive demo index page with basic styling that might be used to let a client preview the site.
HTML
1
star