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

Webpack 4 With Aurelia Not Automatically Doing Splitting

For some reason after upgrading everything, I cannot get my webpack to split the code into chunks so my main js file is 5mb. Any ideas why this is not working? Below is a screenshot showing what the output is. The project is using aurelia, but I…
Jason Biondo
  • 736
  • 5
  • 16
  • 34
1
vote
1 answer

Combine class.bind with native class in HTML element in Aurelia

I'm currently trying to combine a class.bind attribute with a basic html class into an html component through a condition. Like: And I want to get (if…
Florian JOLIVET
  • 67
  • 1
  • 1
  • 6
1
vote
1 answer

Aurelia view model showing error after adding hyperlink tag

I am using Aurelia Dialog Service for model pop up, when i use hyperlink tag inside view model (model popup), it is showing error as Message: Maximum call stack size exceeded Here is the code:- HomePage.ts import { autoinject, observable,PLATFORM }…
Insomniac
  • 639
  • 3
  • 19
1
vote
0 answers

Aurelia: Error loading app-bundle script

I am trying to move the index.html to a subfolder (in this case a folder called "app") but I am unable to make it to work with CLI. Here is my aurelia.json { "name": "lv-app", "type": "project:application", "bundler": { "id": "cli", …
iroyo
  • 723
  • 7
  • 23
1
vote
1 answer

Style element in for repeat, triggered on event

I need to style one table element rendered from a repeat.for on a tag. bold field-text here This is just my inital attempt to check…
Øystein Seel
  • 917
  • 2
  • 9
  • 30
1
vote
1 answer

Aurelia: Calling functions from the Chrome debug console

I am experienced, but new to Aurelia and cannot figure out how to call a specific function from the console. Using this source: import {} from 'css/style.css'; import {inject} from 'aurelia-framework'; import {DOM} from 'aurelia-pal'; …
Norm Strassner
  • 225
  • 3
  • 11
1
vote
1 answer

What is the best "decoupled" way to give focus to an Aurelia component?

Let's say I've built some kind of Aurelia component. For this example, let's say I've built a hypothetical component called ui-money. Let's say that the ui-money component comprises a text input element, and another element (eg. span) alongside the…
1
vote
1 answer

How to install polyfill aurelia

I am using aurelia-validation plugin and i want to use their BootstrapFormRenderer when there is an error: https://aurelia.io/docs/plugins/validation#custom-renderers I really need to make it work on IE 11 and as they say i need to polyfill for…
Arton Hoxha
  • 343
  • 3
  • 12
1
vote
0 answers

Cloning an aurelia-cli project does not work

I'm trying to clone an aurelia project in a git archive to a new Win10 laptop. I have downloaded the git source code archive and installed node, npm and Aurelia-cli on the new laptop. When I run au run in the project root, the au-cli does not see…
Marc Loos
  • 11
  • 2
1
vote
2 answers

Intermittent unit-test failure associated with i18next

I am trying to unit test my aurelia custom element, which looks like below. // BaseText.ts import { bindable } from "aurelia-framework"; import { BaseI18N } from "aurelia-i18n"; export class BaseText extends BaseI18N { @bindable public value:…
Sayan Pal
  • 4,768
  • 5
  • 43
  • 82
1
vote
0 answers

How to resolve Aurelia binding-behavior error after upgrade to 1.1.3

I updated a few libraries including Aurelia-Validation to 1.1.3. After the update, I am getting this error: Expression 'invite.firstName&validate:validation' is not compatible with the validate binding-behavior Anywhere I use the validate binding…
Greg Gum
  • 33,478
  • 39
  • 162
  • 233
1
vote
0 answers

acquireToken does not work after token expire 1 hour

I am building an aurelia app using adal JS for authentication. After 1-hour token gets expired and after that not API is called. I think the problem is in renewing the token. I set the interval of 5 minutes to check the validity of token. I am using…
praval
  • 206
  • 1
  • 3
  • 14
1
vote
1 answer

Aurelia UX showcase app fails to load

I'm having trouble getting the Aurelia UX Showcase app to run on my local PC. It doesn't currently seem to work on the hosted demo site either, but I'm not sure if that's related. How can I get this running successfully? Is this a bug in the app, or…
Brian Lacy
  • 18,785
  • 10
  • 55
  • 73
1
vote
1 answer

Switching theme of my website

I wish to allow users to switch the entire color-scheme of my site with a buttonpress. I have 2 separate .less files with the same global variables, but different colors. The problem seems quite simple.. "swap 1 .less file for the other". But how do…
Johan Hjalmarsson
  • 3,433
  • 4
  • 39
  • 64
1
vote
1 answer

Importing bootstrap 4 in Aurelia-CLI results in Module not found

Recently started using Aurelia and I'm having some issues importing bootstrap 4. I have setup the app using Aurelia-CLI with typescript and basic webpack setup. I initially tried to follow the guide here:…
user1725266
  • 456
  • 1
  • 4
  • 22