OpenSourceWorkflow / generator-kickstart

[deprecated]: yeoman generator for website development
MIT License
10 stars 1 forks source link

Ajax response with HTML files #171

Open stephanfriedrich opened 8 years ago

stephanfriedrich commented 8 years ago

Hi, i have a componente with an ajax request. i request a backend generated html file. in my sandbox testing environment, there is a html-ajax-example-file in my componente. but with current grunt configuration, only json-files get synced into build directory.

Here is my gruntfle sync config: (the file-extension for these html files is *.ajax.html)

  ajax_html: {
    files: [{
      flatten: true,
      expand: true,
      cwd: 'components/app',
      src: ['**/*.ajax.html'],
      ext: '.html',
      dest: 'build/'
    }],
    verbose: true
  },

maybe this is helpful for other developers