Skip to content

hello-kozloff/html5-blank-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

63 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

html5-blank-template

Universal procurement project.

Stack

  • gulp-4
  • pug.js
  • sass
  • smart-grid
  • BEM
  • Babel

Installation

  1. Install globally yarn
  2. Open folder in terminal and clone project - git clone https://github.com/hello-kozloff/html5-blank-template.git
  3. Clone bemto in to core - cd src && mkdir core && cd core && git clone git://github.com/kizu/bemto.git .
  4. After use clone - yarn install

File structure

html5-blank-template
β”œβ”€β”€ build
β”œβ”€β”€ static
β”œβ”€β”€ src
β”‚Β Β  β”œβ”€β”€ blocks
β”‚Β Β  β”œβ”€β”€ fonts
β”‚Β Β  β”œβ”€β”€ images
β”‚Β Β  β”œβ”€β”€ pages
β”‚Β Β  β”œβ”€β”€ sass
β”œβ”€β”€ gulpfile.babel.js
β”œβ”€β”€ package.json
β”œβ”€β”€ .babelrc.js
└── .gitignore
  • Root:
    • .babelrc.js β€” Babel settings
    • .gitignore – Git ignore
    • gulpfile.babel.js β€” Gulp tasks
    • package.json β€” Dependencies
  • Work src - All files in project:
    • BEM: src/blocks
    • Fonts: src/fonts
    • Images: src/images
    • Pages: src/pages
    • Sass: src/sass
  • Folder static - folder from which the local development server is launched (yarn run)

How to use

  • If you want create new block - gulp create --block example-block