Skip to content
This repository was archived by the owner on Nov 9, 2017. It is now read-only.
This repository was archived by the owner on Nov 9, 2017. It is now read-only.

Ajax response with HTML files #171

Description

@stephanfriedrich

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions