-
Notifications
You must be signed in to change notification settings - Fork 291
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Angular 2 Support? #253
Comments
See Issue #219 . So far, it's not supported. It's getting time to do it though. Do you plan to start it? 😈 |
Thanks for pointing out the original issue. Unfortunately i'm hopeless when We're thinking of building an open source enterprise stack based on django,
|
Well I have some time now so I could rewrite my contributions to support angular2. Anyway we'd first have to decide if we'll be going for a new module or somehow make this compatible with angular2. Due to different managing of static Need to start some discussion on these and similar questions. |
If we can reuse the directives (the HTML part) in Angular2, I'd prefer to reuse the existing project and add a new folder named, say, |
In "modern" (es6) web development you wouldn't load a library by adding another script tag, but just npm install it and import it wherever needed. Then you have webpack/JSPM to take care of bundling all the stuff together. So installing the client side part with pip doesn't make sense any more. While you could probably import js files by path it's unnecessary complex to do so for So to go with the flow the client part of django-angular2 has to be available via npm, I would also suggest making a separate repository for it. http://blog.jhades.org/how-to-create-an-angular-2-library-and-how-to-consume-it-jspm-vs-webpack/ |
Also we'd basically have to rewrite everything, since it's a completely different framework. I suppose it's best to get started sooner than later, django url reversing is pretty simple to adapt for angular2, not sure about forms though. |
it would be better to start a new project rather then this i believe as angulr 2 is completely different beast [but nicer] beside we should use jinja2 instead of dtl. |
just found this: |
@jkosir @jrief Some update here: Emmanuelle Delescolle has been working on a project involving django-rest-framework to use any front end framework afterwards. The idea is to make OPTIONS call and override the metadata generated. The project is a really early stage right now, we could really benefit from both of your help (or anyone reading this). The project is mainly build around Ember at the moment. But with a few adapters, we should get something working with angular 1&2 pretty soon. Using something like angular-formly, we can then build forms on the go from our django definition. We've build this with Emma (@nanuxbe) at django under the hood. Please, give me feedback. |
Why not try something with Angular 4 that is off the shelf? |
Hi, what's the state of angular 2 support?
The text was updated successfully, but these errors were encountered: