Questions tagged [aurelia]

Aurelia is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.

Aurelia
is a next generation JavaScript client framework that leverages simple conventions to empower your creativity.

Features

  • Forward-thinking
  • Modern Architecture
  • Two-Way Databinding
  • Extensible HTML
  • Routing & UI Composition
  • MV* with Conventions
  • Convention over Configuration
  • Broad Language Support
  • Testable

Community

Getting Started

Presentations

For the most up to date list refer to Awesome Aurelia (curated list of resources)

3402 questions
1
vote
1 answer

How to do unit testing on an aurelia module?

I'm trying to unit test a home-made NPM module of aurelia components. Note that this is not an aurelia application, it's just a repository of components and classes! For this, I tried to replicate the setup of aurelia-dialog but I still have a few…
Gaet
  • 699
  • 3
  • 11
1
vote
1 answer

Aurelia custom element access data from child to parent view model

I am new to Aurelia and need help accessing values from custom element in another view. I have a scenario where I would like to share input file for attachment in multiple forms. One of the approach I am taking is to create custom element for input…
Ray
  • 1,095
  • 3
  • 18
  • 43
1
vote
1 answer

What's an example of an Aurelia app using Webpack 4.x?

I'm trying to integrate the aurelia-webpack-plugin version 3.0.0-rc.1 with Webpack 4.5. Here is what my webpack configuration looks like: const {AureliaPlugin} = require('aurelia-webpack-plugin'); const path = require('path'); const webpack =…
Martyn Chamberlin
  • 1,277
  • 14
  • 17
1
vote
2 answers

Issues using Azure Active Directory (ADAL) with Aurelia

I've added Azure Active Directory Library (ADAL) to an Aurelia CLI 0.31.3 project and I appear to be out of my element. Here is my repository. The issues that I'm running into are: Accessing the "Reports" page for the first time allows you to log…
1
vote
1 answer

Uncaught (in promise) No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD) globally available to load your app

Using Aurelia latest and webpack, running npm run watch, I get the following error in the browser and the app does not load: Uncaught (in promise) No PLATFORM.Loader is defined and there is neither a System API (ES6) or a Require API (AMD)…
Benny Halperin
  • 1,872
  • 3
  • 13
  • 18
1
vote
1 answer

Serving https in aurelia typescript webpack dev setup

I need to use https://localhost:8080 for testing facebook login in development when I run au run so that the app uses https instead of http. The current setup is using the standard aurelia+typescript+webpack skeleton created from au new. I added…
clouddreams
  • 622
  • 1
  • 4
  • 13
1
vote
1 answer

Issue with Aurelia validation

I try to add validation dynamically but validate method returns only the first error. My goal is to parse a json with all validation rules from the server and add validation dynamically. my html:
jmdavid
  • 58
  • 5
1
vote
0 answers

Integrating Firebase-Admin with Aurelia

In trying to implement firebase-admin in my aurelia project, I've ran into some issues, I was wondering if someone could try to help me out. I first installed firebase-admin through the console with: npm install --save firebase-admin Then on…
vascobento
  • 183
  • 1
  • 1
  • 7
1
vote
2 answers

Error running app built with CLI and Webpack 4

I built an Aurelia app using CLI and Webpack. Then upgraded both. Running au run or au run --env dev --watch I get the following in my console: d:\projects\aurelia\aurelia-app\node_modules\tapable\lib\Tapable.js:63 throw new…
Benny Halperin
  • 1,872
  • 3
  • 13
  • 18
1
vote
1 answer

Aurelia not updating value of object in array

I have an array of objects called options and each option object has a boolean called showThis. In my html, I am using a repeater over the options array, and I'm binding a checkbox to the showThis property. I need to update the value of showThis…
Tyler Jones
  • 1,283
  • 4
  • 18
  • 38
1
vote
2 answers

gojs and Aurelia mismatch error

I created a new aurelia project and installed gojs via npm. I added gojs to the aurelia.json dependencies and, without adding any gojs code, just tried to build the project. The build worked fine and gojs went to the vendor-bundle.js The issue is,…
seroth
  • 581
  • 1
  • 9
  • 26
1
vote
1 answer

Dragstart not getting invoked after reordering the elements

I am trying to create a list which can be reordered by dragging the items in it. When I drag an element for the first time dragstart.trigger="drag($event)" invokes the drag(e). In drag(e) I set data of the element dragged. On dropping the dragged…
Beginner
  • 670
  • 12
  • 25
1
vote
2 answers

Aurelia binding for custom elements

currently I'm facing the following challange using aurelia: Following my user-model: export class User{ @bindable name: string; @bindable address: Address; I have a layout view-model including a form: Parent UserRegistration JS export class…
SNO
  • 793
  • 1
  • 10
  • 30
1
vote
1 answer

How do I make Aurelia match routes exactly?

I'm trying to make a simple application using Aurelia, and I don't like that my routes are matching urls with extra content on the end. My router configuration is: configureRouter(config, router) { config.title = 'Aurelia'; config.map([ {…
1
vote
1 answer

Aurelia router fails when hosted in Project

I am creating a Microsoft Office Project Professional 2016 add-in (not VSTO, but the new Office add-ins model). I have made a basic web app, using ASP.NET Core with Aurelia, Webpack and TypeScript (not referencing any office-js apis yet), and…
Alyce
  • 886
  • 9
  • 22
1 2 3
99
100