Grunt汇编不会生成静态页面

时间:2014-07-01 06:37:00

标签: gruntjs assemble

我使用grunt assemble --verbose并输出以下消息:

Assembling pages...

{ _page: 'all',
  dirname: '.tmp',
  filename: 'products-en.html',
  pageName: 'products-en.html',
  pagename: 'products-en.html',
  basename: 'products-en',
  src: 'src/templates/pages/products-en.hbs',
  dest: '.tmp/en/products.html',
  assets: '../assets',
  ext: '.html',
  extname: '.html',
  page: '\n\n<h1>Products!</h1>',
  data: { language: 'en', file: 'products' },
  filePair: 
   { src: [Getter],
     dest: '.tmp/',
     orig: { src: [Object], dest: '.tmp/' } },
  index: 3,
  number: 4,
  first: false,
  prev: 2,
  middle: true,
  next: 4,
  last: false,
  slug: 'products-en',
  isCurrentPage: false,
  relativeLink: 'products.html' }
Currentpage: [object Object]
Variables loaded

但是当我查看我的.tmp文件夹时,没有.tmp/en/products.html文件。有谁知道为什么?

0 个答案:

没有答案