Skip to content

Instantly share code, notes, and snippets.

@kevmeister68
kevmeister68 / app.js
Created July 7, 2015 04:45
aurelia/templating repro - issue #127.
import 'bootstrap';
import 'bootstrap/css/bootstrap.css!';
export class App {
configureRouter(config, router){
config.title = 'Aurelia';
config.map([
{ route: ['','welcome'], moduleId: './welcome', nav: true, title:'Welcome' },
{ route: 'flickr', moduleId: './flickr', nav: true, title:'Flickr' },
{ route: 'child-router', moduleId: './child-router', nav: true, title:'Child Router' },
@kevmeister68
kevmeister68 / app.html
Last active August 31, 2016 06:17 — forked from jdanyow/app.html
Aurelia processContent( ) problem -- view.bind( ) does not bind to custom element correctly.
<template>
<require from="hc-ui-tabcontrol"></require>
<ui-tabcontrol>
<tab-page>
<tab-heading>Heading1</tab-heading>
<tab-content>${tab1Message}</tab-content>
</tab-page>
<tab-page>
@kevmeister68
kevmeister68 / app.html
Last active October 2, 2016 21:42
Aurelia processContent( ) <template> stack overflow.
<template>
<require from="hc-ui-tabcontrol"></require>
<ui-tabcontrol>
<tab-page>
<tab-heading>Heading1</tab-heading>
<tab-content>${tab1Message}</tab-content>
</tab-page>
<tab-page>