3.1.0
This is a minor release. This adds two new features:
- Models are generated with names. This means instead of:
const Restaurant = DefineMap.extend({ ...Names are given for better devtools integration:
const Restaurant = DefineMap.extend("Restaurant", { ...Secondly, modlet component demo pages use a simpler method that involves using the constructible can-components.
<script type="steal-module">
import "place-my-order-assets";
import "~/models/fixtures/";
import RestaurantList from "~/pages/restaurant/list/";
const list = new RestaurantList({
viewModel: {}
});
document.body.appendChild(list.element);
</script>