All Projects → bem → Project Stub

bem / Project Stub

deps

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Project Stub

Express Typescript Boilerplate
A delightful way to building a RESTful API with NodeJs & TypeScript by @w3tecch
Stars: ✭ 2,293 (+664.33%)
Mutual labels:  starter-kit, boilerplate, skeleton
Oh My Fullstack
🚀 Full stack web application skeleton (Next.js, Redux, RxJS, Immutable, Express)
Stars: ✭ 99 (-67%)
Mutual labels:  starter-kit, boilerplate, skeleton
Akka Http Microservice
Example of http (micro)service in Scala & akka-http
Stars: ✭ 701 (+133.67%)
Mutual labels:  starter-kit, boilerplate, skeleton
bem-express
BEM project-stub with BEMTREE and express
Stars: ✭ 45 (-85%)
Mutual labels:  bem, stub, starter-kit
Go Html Boilerplate
Starter pack for doing web development in Go
Stars: ✭ 229 (-23.67%)
Mutual labels:  starter-kit, boilerplate
Gulp Pug Starter
Frontend development with pleasure. Pug + SCSS version
Stars: ✭ 228 (-24%)
Mutual labels:  starter-kit, bem
React Firebase Admin
React ⚛️ starter kit with Firebase 🔥 and Bulma for setting up an admin dashboard - Highly scalable, PWA, Serverless
Stars: ✭ 232 (-22.67%)
Mutual labels:  starter-kit, boilerplate
marmelad
Заготовка фронтенд проекта для продвинутых и начинающих 🤘. Хорошо подходит для поддержания единой структуры проектов в команде и легкого переиспользования готовых блоков между проектами.
Stars: ✭ 15 (-95%)
Mutual labels:  bem, starter-kit
Threejs Modern App
Boilerplate and utils for a fullscreen Three.js app
Stars: ✭ 176 (-41.33%)
Mutual labels:  starter-kit, boilerplate
Extension Create
Create modern cross-browser extensions with no build configuration.
Stars: ✭ 167 (-44.33%)
Mutual labels:  starter-kit, boilerplate
aurelia-typescript-boilerplate
A starter kit for building a standard navigation-style app with Aurelia, typescript and webpack by @w3tecch
Stars: ✭ 18 (-94%)
Mutual labels:  skeleton, starter-kit
React Starter Kit
React, Redux, Webpack, Material UI, Boostrap 4, Code Splitting, HMR
Stars: ✭ 229 (-23.67%)
Mutual labels:  starter-kit, boilerplate
Js Library Boilerplate
Javascript Starter Boilerplate - Webpack 4, Babel 7, UMD, Hot Reloading, and more
Stars: ✭ 202 (-32.67%)
Mutual labels:  starter-kit, boilerplate
Minwiz
Minimal starter kit for under 2 KB sites
Stars: ✭ 228 (-24%)
Mutual labels:  starter-kit, boilerplate
Polymer Skeleton
💀 Skeleton for Polymer 3 app with Webpack, PostCSS and Service Workers ready.
Stars: ✭ 185 (-38.33%)
Mutual labels:  starter-kit, skeleton
Arc
React starter kit based on Atomic Design
Stars: ✭ 2,780 (+826.67%)
Mutual labels:  starter-kit, boilerplate
Whitestorm Typescript Boilerplate
📦 🚀 TypeScript boilerplate for WhitestormJS using react/redux ⚛
Stars: ✭ 285 (-5%)
Mutual labels:  starter-kit, boilerplate
polypack
🔥 Polypack - Webpack build stack with focus on performance 🔥
Stars: ✭ 38 (-87.33%)
Mutual labels:  skeleton, starter-kit
node-boilerplate
Node Typescript Boilerplate for Microservices. Skeleton for Node.js Apps written in TypeScript (with Setup Instructions for ESLint, Prettier, and Husky)
Stars: ✭ 92 (-69.33%)
Mutual labels:  skeleton, starter-kit
Tsmean
Typescript-mysql-express-angular-node seed for your next web-app!
Stars: ✭ 173 (-42.33%)
Mutual labels:  starter-kit, boilerplate

Stub to start a new BEM project

Project-stub is a template project repository used for BEM projects creation. It contains the minimal configuration files and folders you will need for quick start from scratch.

Build Status

There are two main BEM libraries are linked here by default:

Installation requirements

  • Node.js 4+ is a platform built on JavaScript runtime for easily building fast, scalable network applications.
  • Git Bash if you use Windows OS.

Note: If your operating system is Windows, you must run the following commands in Git Bash with administrator rights. Make sure that you launch Git Bash as an administrator.

Supported browsers

The list of supported browsers depends on the bem-core and bem-components library versions.

Note: Internet Explorer 8.0 is not supported by default. To support IE8 you must follow the recomendations.

Installation

It's as easy as...

git clone https://github.com/bem/project-stub.git --depth 1 my-bem-project
cd my-bem-project
npm install

Note: Do not use root rights to install npm dependencies.

Usage

You may use ENB or gulp to build the project.

You can run enb commands via ./node_modules/.bin/enb.

Build the project

./node_modules/.bin/enb make

or

./node_modules/.bin/gulp

To be able to run commands without typing a full path to an executable file (./node_modules/.bin/enb), use:

export PATH=./node_modules/.bin:$PATH

Now you can use enb or gulp from the root of your project.

enb make

or

gulp

The basic commands

Execute the following commands in your terminal.

Start the dev server

./node_modules/.bin/enb server

You could use the npm start command to start the enb server without specifying the full path to the node_modules.

npm start

The development server is running. To check it out, navigate to http://localhost:8080/desktop.bundles/index/index.html.

You may also specify different port if 8080 is already taken by some other service:

npm start -- --port=8181

Stop the server

Press Ctrl + C while the terminal is your active window to stop the server.

Add a block

It is possible to create blocks with bem create command:

bem create new-block

Add a page

mkdir -p desktop.bundles/page
touch desktop.bundles/page/page.bemjson.js

And add following content:

module.exports = {
    block: 'page',
    title: 'page',
    head: [
        { elem: 'css', url: 'page.min.css' }
    ],
    scripts: [{ elem: 'js', url: 'page.min.js' }],
    content: [
       {
           block: 'new-block',
           content: [
               'block content'
           ]
       }
    ]
};

Docs

Project-stub based projects

Videos

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].