Skip to content

volchata/pepo_client

Repository files navigation

bem-express

Almost the same as project-stub but with BEMTREE and Express.

Installation

npm i
enb make

Development

npm run watch
nodemon

Production

YENV=production enb make
node server

Templating

Templating starts in root block which replaces itself with page or any other context (if specified as argument to render function).

Pro tips

Run server in dev mode with NODE_ENV=development environment variable (nodemon will set it for you).

In dev mode

  • Add ?json=1 to URL to see raw data
  • Add ?bemjson=1 to URL to see BEMJSON generated with BEMTREE templates.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 6