Is there any way to split an Ember.js app across a few files?

后端 未结 4 1679
清歌不尽
清歌不尽 2021-02-02 16:41

I\'ve just written my app.js file and everything is nicely working but the whole file is currently 450 lines long and will be getting bigger.

Is there

4条回答
  •  迷失自我
    2021-02-02 16:44

    I use ember-skeleton for my projects.

    To get started simply do the following:

    git clone https://github.com/interline/ember-skeleton.git my-app
    cd my-app
    
    bundle install
    bundle exec rackup
    

    And then go to http://localhost:9292

    Also take a look at the wiki for further build tools and templates.

提交回复
热议问题