0.0.15 • Published 9 years ago

zero-theme v0.0.15

Weekly downloads
61
License
-
Repository
-
Last release
9 years ago

zero-theme

This module help you make your own theme system.

Usage

  1. Add dependency to your module package.json file like:
{
	"name" : "YOUR_MODULE_NAME",
	"zero" : {
		"dependencies" : {
			"theme" : "^0.0.1"
		}
	}
}
  1. declare themes in your module :
{
	theme : [{
        directory : "admin",
        prefix : "admin", //match url /your_module_name/admin
        locals : {}  //any locals attach to any page to render
      }],
}
  1. Theme module will automatically render template file like index.jade as page and others common web resource as static files.
0.0.15

9 years ago

0.0.14

9 years ago

0.0.13

9 years ago

0.0.12

10 years ago

0.0.11

10 years ago

0.0.10

10 years ago

0.0.9

10 years ago

0.0.8

10 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago