An application that show how to use gridstack in an Aurelia App by Aurelia CLI
This app is built on the Aurelia CLI, which has a couple of prerequisites you must install first. If you have previously setup your machine for the Aurelia CLI, you can skip this step.
- Install NodeJS >= 4.x
- You can download it here.
- Install NPM 3.x
- Even though you may have the latest NodeJS, that doesn't mean you have the latest version of NPM. You can check your version with
npm -v
. If you need to update, runnpm install npm -g
.
- Even though you may have the latest NodeJS, that doesn't mean you have the latest version of NPM. You can check your version with
- Install a Git Client
- Here's a nice GUI client.
- Here's a standard client.
Once you have the prerequisites installed, you can install the Aurelia CLI itself. From the command line, use npm to install the CLI globally:
npm install aurelia-cli -g
Note: Always run commands from a Bash prompt. Depending on your environment, you may need to use
sudo
when executing npm global installs.
Once you've setup your machine (or if it's been previous setup), you simply need to install the dependencies. From within the app folder, execute the following command:
npm install
To run the app, execute the following command from within the app folder:
au run --watch
See the CLI documentation for other available commands or type au help
on the command line.
It will be updated to Gridstack 1.0 version as soon as possible.
See this gridstack issue about aurelia and gridstack usage.