Aurelia 1.x Q&A - Sandbox at https://codesandbox.io/s/aurelia-javascript-sandbox-jnl6q85zq5
dependabot[bot] on npm_and_yarn
chore(deps): bump terser from 4… (compare)
dependabot[bot] on npm_and_yarn
chore(deps): bump terser from 4… (compare)
dependabot[bot] on npm_and_yarn
chore(deps): bump terser from 4… (compare)
dependabot[bot] on npm_and_yarn
chore(deps): bump terser from 5… (compare)
Error on translate for npm:aurelia-binding@1.0.0-beta.1.2.2/aurelia-binding.d.ts at file:///C:/tfs/trunk/src/PIM/LeCreuset.PIM.Web/pim-app/jspm_packages/npm/aurelia-binding@1.0.0-beta.1.2.2/aurelia-binding.d.ts
{
"name": "aurelia-validation",
"path": "../node_modules/aurelia-validation/dist/amd",
"main": "aurelia-validation"
},
{
"name": "aurelia-validatejs",
"path": "../node_modules/aurelia-validatejs/dist/amd",
"main": "aurelia-validatejs"
},
{
"name": "validate.js",
"path": "../node_modules/validate.js/",
"main": "validate"
},
services/
directory somewhere, but also like the idea of having it alongside the component which makes them more decomposable, replaceable pieces, hopefully
Can I not add properties to my router's navigation items? This doesn't seem to work:
parent.js:
export class Parent {
configureRouter(config, router) {
config.map([
{
route: ['','child'],
name: 'child',
moduleId: './child',
nav: true,
title: 'Child',
class: 'icon-ion-briefcase'
},
]);
}
}
parent.html (see <i class.bind="nav.class">
):
<template>
<div class="content-panel">
<ul class="tabs">
<li class="nav-item" repeat.for="nav of router.navigation">
<a class="nav-link" href.bind="nav.href"><i class.bind="nav.class"></i> <span>${nav.title}</span></a>
</li>
</ul>
<router-view containerless></router-view>
</div>
</template>