x-views
A wrapper module of the express-handlebars for x-css.
[![npm version][npm-badge]][npm] [![dependency status][dep-badge]][dep-status]
Installation
Install using npm:
$ npm install x-views
Usage
Same ways to use the express-handlebars:
app.js:
var express = ;var x-views = ; var app = ;var xv = x-; app;app; app; app;
views/layouts/main.hbs:
Example App {{{body}}}
views/home.hbs:
<h1>Example App: Home</h1>
What will happen?
You can see the <style></style>
tag at the end of HTML when you right-click on your browser to see the page source code.
Example App Example App: Home
Note: The style tag is inserted by x-views according to x-css rules. That is the x-views' mission.
License
MIT