Giter Site home page Giter Site logo

prabhakar-marella / frontie-webpack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from tomaszbujnowicz/frontie-webpack

1.0 1.0 0.0 1.24 MB

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

Home Page: https://tomaszbujnowicz.github.io/frontie-webpack/

JavaScript 15.15% CSS 37.09% HTML 47.76%

frontie-webpack's Introduction

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.

frontie-webpack's People

Stargazers

Roman avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.