PainBug / awab-typescript-widget

Template for AWAB 2.3 TypescriptWidget

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

awab-typescript-widget

Template for AWAB 2.3 TypescriptWidget

Suggested Installation

  1. Download the latest WebApp Builder from (here)[https://developers.arcgis.com/web-appbuilder/]
  2. Set it up
  3. Clone this Repository to a local folder
git clone https://github.com/ech-beku/awab-typescript-widget
  1. Copy all the content of the repository to awabBase/client/stemapp
  2. Create a new App with WebApp Builder Web Interface (lets say the app has id 2)
  3. Go to awabBase/client/stemapp and copy following to awabBase/server/apps/2
  • awab.d.ts
  • tsconfig.json
  • node_modules/*
  • .vscode
  1. Open the folder awabBase/server/apps/2 with Visual Studio Code
  2. Press Ctrl + Shift + B to start the TypeScript Watch Task
  3. Open File widgets/TSWidgetTemplate/Widget.ts and start coding, it should compile itself when pressing Ctrl + S
  4. There are 2 errors from dojox.gfx3d.d.ts and dojox.lang.d.ts, ignore them :)

usefull links

About

Template for AWAB 2.3 TypescriptWidget


Languages

Language:TypeScript 89.5%Language:HTML 6.4%Language:JavaScript 4.2%