angular — the wootric configured project for Angular apps
This project is an application skeleton for a typical Wootric setup web app. You can use it to quickly bootstrap your wootric setup angular webapp projects.
The app doesn't do much, just shows how to setup the wootric snippet for Anuglar projects.
To get you started simply follow the instructions below:
We also use a number of Node.js tools to install
angular-cli. You must have Node.js and its package manager (npm) installed. You can get them from here. Then install Angular CLI globally with command
npm install -g @angular/cli
spa-examples repository using git:
git clone https://github.com/Wootric/spa-examples.git cd spa-exaples cd angular npm install
Setup Wootric (using angular directive)
src/app/wootric.directive.tsand setup wootric as required: Update
account_tokenwith your account token (at line no. 14).
Using the directive: Add directive
src/app/app.component.html(here at line no. 2).
Running the Application
ng serve for a dev server. Navigate to
app built using Angular CLI version 8.0.4