# art-template
[![NPM Version](https://img.shields.io/npm/v/art-template.svg)](https://npmjs.org/package/art-template)
[![NPM Downloads](http://img.shields.io/npm/dm/art-template.svg)](https://npmjs.org/package/art-template)
[![Node.js Version](https://img.shields.io/node/v/art-template.svg)](http://nodejs.org/download/)
[![Travis-ci](https://travis-ci.org/aui/art-template.svg?branch=master)](https://travis-ci.org/aui/art-template)
[![Coverage Status](https://coveralls.io/repos/github/aui/art-template/badge.svg?branch=master)](https://coveralls.io/github/aui/art-template?branch=master)
[English document](https://aui.github.io/art-template/) | [中文文档](https://aui.github.io/art-template/zh-cn/index.html)
art-template is a simple and superfast templating engine that optimizes template rendering speed by scope pre-declared technique, hence achieving runtime performance which is close to the limits of JavaScript. At the same time, it supports both NodeJS and browser. [speed test online](https://aui.github.io/art-template/rendering-test/).
art-template 是一个简约、超快的模板引擎。它采用作用域预声明的技术来优化模板渲染速度,从而获得接近 JavaScript 极限的运行性能,并且同时支持 NodeJS 和浏览器。[在线速度测试](https://aui.github.io/art-template/rendering-test/)。
[![chart](https://aui.github.io/art-template/images/chart@2x.png)](https://aui.github.io/art-template/rendering-test/)
## Feature
1. performance is close to the JavaScript rendering limits
2. debugging friendly. Syntax errors or runtime errors will be positioned accurately at which line of template. Support setting breakpoint in templating files (Webpack Loader)
3. support Express, Koa, Webpack
4. support template inheritance and sub template
5. browser version is only 6KB
## 特性
1. 拥有接近 JavaScript 渲染极限的的性能
2. 调试友好:语法、运行时错误日志精确到模板所在行;支持在模板文件上打断点(Webpack Loader)
5. 支持 Express、Koa、Webpack
6. 支持模板继承与子模板
7. 浏览器版本仅 6KB 大小
-----------------
[捐助我](https://cloud.githubusercontent.com/assets/1791748/25561320/09c9d6d0-2d9c-11e7-8689-1109f3f88f41.png)(微信支付)
[\[AD\] 前端招聘:在海边写代码](https://juejin.im/post/5a2651d06fb9a0451c3a40ad)
没有合适的资源?快使用搜索试试~ 我知道了~
art-template-master
共130个文件
js:77个
html:24个
art:16个
5星 · 超过95%的资源 需积分: 10 8 下载量 47 浏览量
2017-12-21
10:00:54
上传
评论
收藏 455KB ZIP 举报
温馨提示
template.js前端模板引擎,一款 JavaScript 模板引擎,简单,好用。提供一套模板语法,用户可以写一个模板区块,每次根据传入的数据,生成对应数据产生的HTML片段,渲染不同的效果。
资源推荐
资源详情
资源评论
收起资源包目录
art-template-master (130个子文件)
inner-layout.art 353B
index.art 286B
layout.art 256B
outer-layout.art 216B
index.art 207B
index.art 98B
layout.art 94B
index.art 62B
header.art 39B
base-layout.art 29B
default.art 25B
file.art 23B
file2.art 17B
footer.art 17B
include.art 15B
file.art 11B
.gitignore 59B
index.html 15KB
filter.html 2KB
filter.html 2KB
index.html 1KB
index.html 788B
include.html 708B
basic.html 706B
include.html 679B
basic.html 663B
compile.html 607B
compile.html 580B
compile-error.html 576B
runtime-error.html 569B
no-escape.html 561B
no-escape.html 557B
runtime-error.html 433B
print.html 390B
print.html 386B
compile-error.html 383B
index.html 78B
include.html 14B
file.html 11B
template.file.html 11B
extension.file.html 11B
pug.min.js 582KB
highcharts.js 193KB
handlebars.js 156KB
jquery-1.7.2.min.js 93KB
swig.min.js 45KB
es5-shim.min.js 25KB
index.js 23KB
ejs.min.js 19KB
require.js 17KB
template-web.js 16KB
rule.art.js 14KB
compiler.js 13KB
compiler.js 12KB
compiler.js 11KB
mustache.min.js 9KB
json3.min.js 8KB
precompile.js 8KB
precompile.js 8KB
rule.art.js 6KB
rule.art.js 6KB
es5-sham.min.js 6KB
tpl-tokenizer.js 4KB
doT.min.js 3KB
index.js 3KB
tpl-tokenizer.js 3KB
tpl-tokenizer.js 3KB
index.js 3KB
defaults.js 3KB
defaults.js 3KB
node.js 3KB
es-tokenizer.js 3KB
resolve-filename.js 3KB
rule.native.js 2KB
error.js 2KB
runtime.js 2KB
runtime.js 2KB
index.js 2KB
html-minifier.js 2KB
runtime.js 2KB
webpack.config.js 1KB
error.js 1KB
resolve-filename.js 922B
defaults.js 915B
resolve-filename.js 904B
extend.js 888B
extend.js 853B
html-minifier.js 778B
rule.native.js 733B
index.js 707B
index.js 702B
rule.native.js 696B
es-tokenizer.js 662B
html-minifier.js 634B
es-tokenizer.js 624B
extension.js 575B
caches.js 565B
extension.js 562B
loader.js 540B
loader.js 520B
共 130 条
- 1
- 2
资源评论
- beishangdejintian2019-06-24模版不错的选择
MrYang_Wei
- 粉丝: 9
- 资源: 4
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功