Coder Social home page Coder Social logo

Hybrid app (ng1+ng2) about angular HOT 8 CLOSED

ui-router avatar ui-router commented on April 26, 2024
Hybrid app (ng1+ng2)

from angular.

Comments (8)

christopherthielen avatar christopherthielen commented on April 26, 2024

ng1-to-ng2 needs an update. right now it's stuck on an older version of angular2

I'm working on a new release of ui-router-ng2 and then the sample-app-ng2, then I'm going to update ng1-to-ng2. The bootstrapping will probably be somewhat different from the current version.

from angular.

BenevidesLecontes avatar BenevidesLecontes commented on April 26, 2024

@christopherthielen thanks for the answer, i will wait until then. For now did you have a temporary solution for me to route my ng2 components based on ng1 routes?

from angular.

christopherthielen avatar christopherthielen commented on April 26, 2024

Related issue: #49

from angular.

christopherthielen avatar christopherthielen commented on April 26, 2024

@BenevidesLecontes you can use the ng1 only router, and route to downgraded components using a route-to-component template like

template: `<my-downgraded-ng2-component></my-downgraded-ng2-component>`

from angular.

BenevidesLecontes avatar BenevidesLecontes commented on April 26, 2024

@christopherthielen I'm sorry, but i didn't get your tip, You're saying to me to downgrade my ng2 components and use ng1 router?

from angular.

amcdnl avatar amcdnl commented on April 26, 2024

@BenevidesLecontes - Check out https://github.com/swimlane/ng1-ng2-webpack-lazy-uirouter

from angular.

BenevidesLecontes avatar BenevidesLecontes commented on April 26, 2024

@amcdnl Thanks, I already did it.

from angular.

christopherthielen avatar christopherthielen commented on April 26, 2024

Closing since https://github.com/ui-router/angular-hybrid is ready

from angular.

Related Issues (20)

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.