Coder Social home page Coder Social logo

supervueman / html-starter-bs4-webpack Goto Github PK

View Code? Open in Web Editor NEW

This project forked from cichy380/html-starter-bs4-webpack

0.0 1.0 0.0 1.36 MB

HTML starter template with front-end development kit for building web apps and sites.

License: MIT License

JavaScript 37.32% CSS 40.40% HTML 22.29%

html-starter-bs4-webpack's Introduction

HTML Starter

Bootstrap Webpack dependencies devDependencies license

Kick-start your project with Bootstrap, the world's most popular framework and modern development workflow. This boilerplate with Webpack based setup helps you build web apps and sites much faster.

Features

  • Live reloading
    browser update after changes
  • Automatically optimizes entry files
    concatenate, minify and inject output files to HTML
  • Sass for stylesheets
    with the 7-1 Pattern
  • Modern JavaScript
    ES6 modules-based code linting by ESLint
  • Older browsers support
    • add vendor prefixes in CSS with Autoprefixer
    • convert ES6+ code into a backwards compatible with Babel
  • Includes:
  • sourceMaps
  • and more...

Theme development

Node.js is the only required dependency to work with HTML Starter.

Installation

  1. Install Node.js (installation depends on your system). After finishing, you will be able to check the version number using node -v and npm -v commands (npm is distributed with Node.js).
  2. Clone the repo using git clone https://github.com/cichy380/html-starter-bs4-webpack.git or download HTML Starter.
  3. Open folder html-starter-bs4-webpack (command: cd html-starter-bs4-webpack) and install a packages of HTML Starter via npm install command.

Now you have everything you need to run the build process.

Build commands

  • npm run start ─ compile assets when file changes are made, start webpack-dev-server session
  • npm run build ─ compile and optimize (the files in your assets directory) for production

Structure

Shorten directories and files structure which you'll see after build:

html-starter-bs4-webpack/
├── assets/                 # template assets
│   ├── fonts/              # place template fonts files here
│   ├── html/               # template HTML files
│   │  ├── partials/        # common parts of HTML code
│   │  │  └── [...]
│   │  ├── 404.html         # placeholder 404 error page
│   │  └── index.html       # default HTML skeleton
│   ├── images/             # template images files
│   │  └── [...]
│   ├── scripts/            # template javascript files
│   │  ├── vendor/          # necessary parts of frameworks and libs
│   │  │  └── [...]         # Bootstrap, FontAwesome, jQuery
│   │  └── main.js          # main javascript file that references JS source files
│   ├── scss/               # template styles
│   │  ├── [...]            # 7-1 Sass architecture folders
│   │  └── main.scss        # main Sass file that references scss source files
│   ├── index.js            # entry point of template
│   └── [...]               # miscellaneous
├── dist/                   # output folder with production build (don't edit)
│   ├── css/                # output styles
│   ├── images/             # output images
│   ├── js/                 # output javascripts
│   ├── index.html          # homepage
│   └── [...]               # miscellaneous
├── node_modules/           # Node.js packages (don't edit)
│   └── [...]
├── .babelrc                # Babel configuration file
├── .eslintrc.js            # ESLint configuration file
├── package.json            # Node.js dependencies and scripts
├── webpack.config.js       # Webpack configuration file
├── package-lock.json       # Node.js dependencies lock file (don't edit)
└── [...]                   # other...

Demo

Sample of HTML Starter usage placed in separate branche:

License

Code released under the MIT license.

html-starter-bs4-webpack's People

Contributors

cichy380 avatar dependabot[bot] 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.