Aurelia-CLI (require)
First of all, webpack is highly recommended.
Scaffolding the app
Make sure you have at least version 0.34.0
of Aurelia-CLI installed.
Choose Aurelia options as you see fit. In the last step, choose to install all dependencies.
Getting the plugin
In your project install the following via CLI (execution order matters!):
Configure your app
For Material Design icons include this in your
index.html
head section:Add this to
main.js
in yoursrc
folder:Note: The above shows how to use all available controls at once. If you choose to pick which you'd like to use, you can
use
single components like this:At the end of this page is a full list of currently available options. Important:
preventWavesAttach
is only needed with CLI to prevent dimmed buttons. See this issue for details.Add this to your
app.html
Update
aurelia.json
for the typed plugin. The following should already be present independencies
for thevendor-bundle
, inbundles
section, just needs a little tweak. If not there you can just add it.
You are done!
It is now possible to drop some custom-elements into your DOM. See the other pages on this website for detailed information on how to do this.
Now you might want to do our app developers tutorial, based on Aurelia Skeleton navigation.
As described above, here is a full list of available options:
Last updated