07. How to install
This chapter shows how to add/install the grid to your own project.
JSPM:
-Tested with esnext skeleton:working
Run:
`jspm install aurelia-v-grid=github:aurelia-ui-toolkits/aurelia-v-gridIn
main.jsadd.plugin('aurelia-v-grid')
Aurelia-CLI (not asp.core)
-Tested with esnext default :working
Run:
npm install git://github.com/aurelia-ui-toolkits/aurelia-v-grid.git --saveIn
main.jsadd.plugin('aurelia-v-grid')Add to aurelia_project/aurelia.json
{ "name": "aurelia-v-grid", "path": "../node_modules/aurelia-v-grid/dist/amd", "main": "index" }set stub to false in the loader/plugins in aurelia_project/aurelia.json
"loader": { "type": "require", "configTarget": "vendor-bundle.js", "includeBundleMetadataInConfig": "auto", "plugins": [ { "name": "text", "extensions": [ ".html", ".css" ], "stub": false <---------------------THIS ONE!!!! } ] },
Aurelia-CLI (asp-core)
-Tested with esnext default :working
Run:
npm install git://github.com/aurelia-ui-toolkits/aurelia-v-grid.git --saveIn
main.jsadd.plugin('aurelia-v-grid')Add to aurelia_project/aurelia.json
set stub to false in the loader/plugins in aurelia_project/aurelia.json
Webpack
-Tested with esnext skeleton:working
Run:
npm install git://github.com/aurelia-ui-toolkits/aurelia-v-grid.git --saveIn
main.jsadd.plugin('aurelia-v-grid')
Without installing
-Tested with aurelia-CLI:working, and prb all other esnext except typescript
If you dont want to install it, and just want to copy and run you can do this:
Copy "vGrid" folder here over to "src" in skeleton from here: link
In
main.jsadd.plugin('vGrid/plugin')
Last updated