Code Monkey home page Code Monkey logo

Comments (10)

diegonetto avatar diegonetto commented on June 17, 2024

I was considering pulling in generator-angular as a sub-generator, but hadn't made a decision yet. I'm leaning more towards it being a good idea, in which case the seed app will indeed have to be restructured.

Will see if I can knock this out tonight.

from generator-ionic.

mhartington avatar mhartington commented on June 17, 2024

Hey any progress on this?

from generator-ionic.

diegonetto avatar diegonetto commented on June 17, 2024

None so far since I ended up focusing my efforts on other areas of the generator. However, of all the open enhancement requests, this is priority number one on my list.

from generator-ionic.

robkorv avatar robkorv commented on June 17, 2024

Today I decided to just give generator-angular inside the Ionic dir a go.

I can use the generators. Avoid angular:app (will generate a complete angular app) and angular:route (will generate, controller, view and route while Ionic uses AngularUI for routing).

I can confirm that angular:controller and angular:view works while using grunt serve. Apart from some different dir usage, it's pretty functional.

from generator-ionic.

deedubbleyoo avatar deedubbleyoo commented on June 17, 2024

Good to know that a lot of the standard generators work: my team was asking for this today - it would be great if you full integrated yo angular (or a version that handles ui-router etc.) into the generator.

Kudos on this project - we have become super-productive and have been able to re-scaffold an app in days compared to months for the previous application.

from generator-ionic.

JaKXz avatar JaKXz commented on June 17, 2024

Any progress on getting a ui-router generator working?

This generator looks promising! 😄

from generator-ionic.

diegonetto avatar diegonetto commented on June 17, 2024

Looking to start pulling in generator-angular towards the end of this week.

from generator-ionic.

diegonetto avatar diegonetto commented on June 17, 2024

Was about to post a design discussion topic about directory structure, since for all of my contract projects I've been using a component-centric directory structure instead of generator-angular's controllers/, directives/, services/, etc structure. I've found that a component-driven architecture makes working on large projects much more manageable.

This proposal was brought to my attention today by @jcumminsr1, so I'm holding off on pulling in the Angular Generator until we see how it shakes out.

Ultimately, I'd like to support generator-angular's adoption of the fractal hierarchy described in that proposal, since its almost identical to what I, and many others, have been using for large industry projects.

from generator-ionic.

alexkb avatar alexkb commented on June 17, 2024

We're trialing Ionic and Angular and wanted to use yo angular:<type> <name> to create controllers, directives and services. It seems to work fine with a project created with generator-ionic, except for the way generator-angular detects the angular module name. It detects the module name, but converts it to lowercase and appends "App" to the end. Manually editing this resolves the problem for the time being but it would be good for this to work out of the box.

As for the discussion on fractal hierarchy, we aren't at the stage yet where the application is so large it needs all this separation.

from generator-ionic.

LunarDevelopment avatar LunarDevelopment commented on June 17, 2024

Any further progress with this?

+1

from generator-ionic.

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.