Skip to content

Instantly share code, notes, and snippets.

@mmadden
Last active January 1, 2016 13:59
Show Gist options
  • Save mmadden/8154452 to your computer and use it in GitHub Desktop.
Save mmadden/8154452 to your computer and use it in GitHub Desktop.
@wagenet asked for details on how I like files to be organized in Ember applications.
app/
  app.js
  application.hbs
  routing.js
  components/
    dropdown-button/
      dropdown-button.hbs
      DropdownButtonComponent.js
    google-map/
      google-map.hbs
      GoogleMapComponent.js
  helpers/
    AuthenticatedRoute.js
    CatchAllRoute.js
    HashbangLocation.js
    TextField.js
  mixins/
    GroupableMixin.js
  models/
    post.js
    profile.js
    user.js
  modules/
    posts/
      index.hbs
      post.hbs
      PostController.js
      PostRoute.js
      posts.hbs
      PostsController.js
      PostsRoute.js
      PostsView.js
    profile/
      profile.hbs
      ProfileController.js
  serializers/
grunt/
  default.js
  dev.js
  dist.js
  options/
    clean.js
    concat_sourcemap.js
    emberTemplates.js
    jshint.js
    replace.js
    source_files.js
    uglify.js
    watch.js
vendor/
  ember/
  jquery/
  momentjs/

Note: all application code is in app/ while third-party code is in vendor/ and/or node_modules/.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment