Go to file
kmdjs 54a30c80bd fix nc-class bug 2016-05-03 20:38:06 +08:00
asset remove canvas demo 2016-04-25 17:08:20 +08:00
dist fix nc-class bug 2016-05-03 20:38:06 +08:00
example change Nuclear.Tpl.render to Nuclear.render 2016-05-01 21:17:00 +08:00
scaffold 代码检查 2016-04-25 09:29:22 +08:00
src fix nc-class bug 2016-05-03 20:38:06 +08:00
test 代码检查 2016-04-25 17:07:30 +08:00
.gitignore update README.md 2016-04-29 17:39:27 +08:00
LICENSE 目录整理 2015-06-09 12:26:32 +08:00
README.md wording 2016-04-30 06:12:09 +08:00
gulpfile.js 支持局部css 2016-04-19 16:21:31 +08:00
package.json version 0.1.8 2016-05-03 17:19:27 +08:00

README.md

preview

Some HTML + Scoped CSS + JS === Reusable Component

Preview

preview

Several examples on the website.

Performance-testing on the website.

Install

You can install it via npm:

npm install alloynuclear

Nuclear can be used in the CommonJS/AMD module definition environment, but also directly through the script tag reference in your page ,such as:

<script src="nuclear.js"></script>

you can get the Nuclear module by synchronizing require in the AMD module definition environment:

define(function (require) {
    var Nuclear = require('nuclear');
});

or asynchronous require

require([ 'nuclear' ], function (Nuclear) {
});

or require in the CommonJS module definition environment:

var Nuclear = require('nuclear');

Many thanks to

License

This content is released under the MIT License.