Skip to content

Instantly share code, notes, and snippets.

@vegarringdal
Last active August 5, 2016 14:46
Show Gist options
  • Select an option

  • Save vegarringdal/28368d0649a8af90180046525b698b2e to your computer and use it in GitHub Desktop.

Select an option

Save vegarringdal/28368d0649a8af90180046525b698b2e to your computer and use it in GitHub Desktop.
aurelia css attribute- Is this a bug?
<template>
<div css="height:200px;width:200px;background-color:blue">I'm missing my style!!! :-(</div>
<div css="${cssHack};height:200px;width:200px;background-color:blue:color:white">Yay :-)</div>
</template>
export class App {
}
<!doctype html>
<html>
<head>
<title>Aurelia</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mTJOASx8j1Au+a5WDVnPi2lkFfwwEAa8hDDdjZlpLegxhjVME1fgjWPGmkzs7" crossorigin="anonymous">
</head>
<body aurelia-app="main">
<h1>Loading...</h1>
<script src="https://cdn.rawgit.com/vegarringdal/vGridGistRunJSPMBundle/v.1.0.7/jspm_packages/system.js"></script>
<script src="https://cdn.rawgit.com/vegarringdal/vGridGistRunJSPMBundle/v.1.0.7/config.js"></script>
<script>
System.import('aurelia-bootstrapper');
</script>
</body>
</html>
export function configure(aurelia) {
aurelia.use
.standardConfiguration()
.developmentLogging()
.plugin('aurelia-v-grid');
aurelia.start().then(a => a.setRoot());
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment