Coder Social home page Coder Social logo

html-skeleton's Introduction

FRONTEND BOILERPLATE

Bootstrap Bootstrap Bootstrap Webpack license

This boilerplate uses Webpack boundler and its dev server helps you build web apps and sites much faster. this project also uses Bootstrap , and a modern development workflow.

Features

  • Live reloading
    browser update after changes
  • Automatically optimization entry files
    concatenate, minify and inject output files to HTML
  • Sass for stylesheets
    with the 7-1 Pattern
  • Webpack 4 a good configuration - module bundler
  • Bootstrap 4 - the most popular HTML, CSS and JS framework
  • jQuery 3.4.1 - JavaScript library
  • Font Awesome 4.7 - the web's most popular vector icons and social logos

Theme development

Node.js and npm is required dependency to work with this starter.

You can optionally use Yarn package manager.

Installation

  1. Install Node.js (installation depends on operation system). (npm is distributed with Node.js).
  2. It is recommended to install the latest version of yarn. How to install yarn?
  3. Clone the repo using git clone https://github.com/smarteist/Frontent-Starter-Boilerplate.git.
  4. Open project folder and run npm install command or if you installed yarn yarn.

Its Done.

Build commands

  • yarn start or npm run start ─ compile assets when file changes are made, start webpack-dev-server session
  • yarn watch or npm run watch ─ webpack can watch files and recompile whenever they change.
  • yarn build or npm run build ─ compile and optimize (the files in your assets directory) for production.
  • yarn clean or npm run clean ─ cleanup previous build files in /dist folder.

License

Code released under the MIT license.

Structure

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

▼ project/
│
├──▼ src/
│  ├──▼ assets/            # template asset files
│  │  ├──► fonts/          # place template fonts files here
│  │  ├──► images/         # template images files
│  │  └──▼ styles/         # template style files
│  │     ├── [...]         # 7-1 Sass architecture folders
│  │     └── main.scss     # main Sass file that references scss source files
│  ├──▼ html/              # template HTML files
│  │  ├──▼ partials/       # partials of HTML code
│  │  │  └── [...]
│  │  ├── 404.html         # example 404 error page
│  │  └── index.html       # default index page
│  │  └── [...]
│  ├──▼ scripts/           # template javascript files
│  │  ├──► modules/        # dedicated project modules
│  │  ├──▼ vendor/         # necessary parts of frameworks and libs
│  │  │  └── [...]         # Bootstrap, jQuery, etc...
│  │  └── main.js          # main javascript file that references JS source files
│  ├── index.js            # entry point of template
│  └── [...]
├──▼ dist/                 # distribution 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 files

License

Code released under the MIT license.

html-skeleton's People

Contributors

robyifan avatar

Stargazers

 avatar

Watchers

 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.