not adding define('text!... to templates
See original GitHub issueaurelia-cli 0.18 typescript
sometimes aurelia-cli stops adding define('text!.. to templates but just writes the template itself only into the bundle. unfortinatelly, sofar i’ve no clue why and when that’s happening
eg:
define('text!aurelia-form/component/framework/bootstrap/collection.html', ['module'], function(module) { module.exports = "<template>\n <require from=\"./../../../attributes\"></require>\n <require from=\"./form-group\"></require>\n <form-group element.bind=\"element\" message.bind=\"message\">\n <form-fields repeat.for=\"model of models\"\n attributes.bind=\"element.schema.attributes\"\n model.bind=\"model\"\n schema.bind=\"schema($index)\">\n </form-fields>\n </form-group>\n</template>\n"; });
define('text!aurelia-form/component/framework/bootstrap/conditional.html', ['module'], function(module) { module.exports = "<template>\n <form-fields\n schema.bind=\"schema\"\n model.bind=\"model\">\n </form-fields>\n</template>\n"; });
define('text!aurelia-form/component/framework/bootstrap/fieldset.html', ['module'], function(module) { module.exports = "<template>\n <require from=\"./../../../attributes\"></require>\n <fieldset attributes.bind=\"element.attributes\">\n <form-fields\n model.bind=\"value\"\n schema.bind=\"element.schema\">\n </form-fields>\n </fieldset>\n</template>\n"; });
<template>
<require from="./form-group"></require>
Issue Analytics
- State:
- Created 7 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
Working with message templates - HowTo-Outlook
Working with message templates can be a great way to save some time composing emails or answering repeated requests.
Read more >text/template - Go Packages - The Go Programming Language
Package template implements data-driven templates for generating textual output.
Read more >Solved: How do I create a custom template for a descriptio...
Delete the text and click Update. - Click on Edit Default Value and enter the template text you want. - In the next...
Read more >Using modules in templates - HubSpot Developers
The type_of_module supports V1 HubSpot module names for example: rich_text or raw_html . Additional parameters can be added to the first line of ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I tested it with aurelia-materialize-bridge today and now it’s running ok. No more
not adding define('text!...
problemsaurelia-cli@0.20.1
Excellent.