Skip to content
This repository was archived by the owner on May 14, 2018. It is now read-only.
This repository was archived by the owner on May 14, 2018. It is now read-only.

Issue with requirejs/text #65

Description

@denar90

Hi, I'm using requirejs/text in my module. Trying to build it but getting error Error: No file for module 'templates/item.hbs' found. I've read that problem was solved some time ago. Maybe I'm doing something wrong.
Here some example of my code

define(['app',
        'marionette',
        'handlebars',
        'views/itemView',
        'text!templates/list.hbs'], function(app, Marionette, Handlebars, ItemView, template) {

    "use strict";
    return Marionette.CompositeView.extend({
        template: Handlebars.compile(template),
        childView: ItemView,
        className: 'row'
    });
});

Can you help me guys?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions