Put index.html
into public/
Put app.es6
into src/
Put greeting.es6
into src/greeting
Run:
npm install
npm start
- runs the webpack server.
package main | |
import ( | |
"database/sql" | |
"errors" | |
"fmt" | |
_ "github.com/bmizerany/pq" | |
"os" | |
"regexp" | |
"strings" |
Put index.html
into public/
Put app.es6
into src/
Put greeting.es6
into src/greeting
Run:
npm install
npm start
- runs the webpack server.
Disclaimer: This is a basic implementation, and much of the configuration files have been lifted from the aurelia skeleton.
##Install dependencies
npm i -D del gulp-protractor
npm i -S whatwg-fetch
main.ts
) add import 'whatwg-fetch';
typings install dt~whatwg-fetch --global
(you may need a different command depending on your versions)aurelia_project/aurelia.json
and put the following into the path build.bundles[1].dependencies
(you'll see where all the other deps are) "aurelia-fetch-client",
{