Giter Club home page Giter Club logo

angular2-extjs's Introduction

angular2-extjs

Ext JS Bridge for Angular2 (The Bridge)

The Bridge Works with the Sencha Ext JS 6.2 modern toolkit

To try The Bridge with a test Angular2 application:

Install Angular-CLI (instructions at: https://github.com/angular/angular-cli)

Create a folder called ExtAngular and cd to this folder

in the ExtAngular folder create new project using command prompt (this will take a while):

ng new ExtTest

When finished, run the following commands on the command line:

cd ExtTest
npm install angular2-extjs --save
cp -r node_modules/angular2-extjs/demo/ src/

Replace styles and scripts section in ExtTest/angular-cli.json with what is in src/misc/angular-cli.json.txt

(don't forget to do this...)

To create a theme for the application:

In the ExtAngular folder create an empty ExtJS application called Theme:

cd ..
sencha -sdk {path-to-ext-js-6.2} generate app -starter=false -modern Theme ./Theme
cp ExtTest/src/demo/misc/app.js Theme/app.js
cd Theme

Change 'requires' in app.json to this:

"requires": [
	"calendar",
	"charts",
	"d3",
	"ux",
	"pivot",
	"pivot-d3",
	"font-awesome"
],

Build Ext JS application

sencha app build testing

Copy build folder of Ext JS app to app folder of Angular2 test app (ExtTest)

cp -r build/ ../ExtTest/src/app/build/

Run the application

cd ..
cd ExtTest
ng serve

In the browser, go to http://localhost:4200

Open ExtTest project in an editor to review the application

Demo at http://se.sencha.com/ExtTest

angular2-extjs's People

Contributors

mgusmano avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.