Coder Social home page Coder Social logo

harrariscript / angularhybrid Goto Github PK

View Code? Open in Web Editor NEW

This project forked from raymer/angularhybrid

0.0 2.0 0.0 31 KB

Hybrid AngularJS/Angular4 application with WebPack

License: MIT License

TypeScript 36.82% CSS 2.63% JavaScript 53.43% HTML 7.12%

angularhybrid's Introduction

angularHybrid โ€” the seed for an AngularJS/Angular hybrid.

This project is a simple hybrid AngularJS/Angular application with WebPack. The aim of this project is to aid developers starting their journey of upgrading an AngularJS application in small chunks over to Angular.

There seemed to be a lack of documentation online about setting up a hybrid app with WebPack. The official docs use SystemJS, so that was out of the question. Some blogs I found used WebPack, but they assumed your AngularJS app was already completely componentized (using the 1.5 component API) and others assumed you were writing ES2015. Neither of these are true in many cases, this seed project fills that gap.

Getting Started

To get you started you can simply clone the angularHybrid repository and install the dependencies:

Prerequisites

You need git to clone the angularHybrid repository. You'll also need NPM and Bower to install the application packages.

Clone angularHybrid

Clone the angularHybrid repository using git:

git clone https://github.com/raymer/angularHybrid.git
cd angular-seed

Install Dependencies

npm install
bower install
  • node_modules - contains the npm packages for the tools we need
  • app/bower_components - contains the Angular framework files

Run the Application

I have preconfigured the project with a simple webpack development web server. The simplest way to start this server is:

npm start

Now browse to the app at http://localhost:8000/#/foo.

Running Unit Tests

To run the AngularJS tests

karma start

To run the Angular tests

karma start karma.conf.webpack.js

angularhybrid's People

Watchers

James Cloos avatar omar harrari 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.