Aurelia CLI & TypeScript & MomentJS
问题 I'm not getting Aurelia (CLI) & TypeScript & MomentJS to work together. I've seen solutions for Aurelia & Moment problems but they don't use the Aurelia CLI. Here's what I'm doing at the moment: New Aurelia project using Aurelia CLI: au new I select TypeScript instead of Babel. Install moment npm install moment --save This installs Moment 2.4.1. I can find it (including the moment.d.ts) from node_modules. Edit aurelia.json I Add "moment" to "dependencies": Use Moment in app.ts Problems start