jade-loader

jade loader module for webpack

22 个版本
安装
npm install jade-loader
yarn add jade-loader
pnpm add jade-loader
bun add jade-loader
README

jade loader for webpack

Usage

var template = require("jade!./file.jade");
// => returns file.jade content as template function

Documentation: Using loaders

Embedded resources

Try to use require for all your embedded resources, to process them with webpack.

div
  img(src=require("./my/image.png"))

You need to configure loaders for these filetypes too. (Take a look at the file-loader.)

License

MIT (http://www.opensource.org/licenses/mit-license.php)

版本列表
0.8.0 2015-11-04
0.7.1 2015-01-17
0.7.0 2014-10-13
0.6.1 2014-03-11
0.6.0 2014-03-11
0.5.2 2013-11-27
0.5.1 2013-03-25
0.5.0 2013-02-01
0.2.3 2012-12-27
0.2.2 2012-11-15
0.2.1 2012-11-15
0.2.0 2012-09-25
0.1.11 2012-08-03
0.1.10 2012-05-20
0.1.9 2012-04-07
0.1.8 2012-04-06
0.1.7 2012-04-05
0.1.6 2012-04-03
0.1.4 2012-04-03
0.1.3 2012-04-02
0.1.2 2012-03-27
0.1.0 2012-03-26