Answer the question
In order to leave comments, you need to log in
How to do a build for an Ember application?
Installed Node.js and ember-cli.
Created an empty test project.
Launched through
Ember's
Welcome to Ember
>ember build --env
Running production without elevated rights. Running Ember CLI "as Administrator" increases performance significantly.
See ember-cli.com/user-guide/#windows for details.
Built project successfully. Stored in "dist/".
Sizes the File:
- ember-test-73dbd5b3afad7b216b154b74010e2663.js: 4.81 KB Download now (1.46 KB Download now a gzipped)
- ember-test-d41d8cd98f00b204e9800998ecf8427e.css: 0 Bed
and - vendor-d41d8cd98f00b204e9800998ecf8427e.css: 0 Bed
and - vendor-ef159bc608efff575c24c5e13c2d1218.js: 689.61 KB Download now (179.82 KB gzipped)
Answer the question
In order to leave comments, you need to log in
It turned out that the web page starts working if you open dist not locally, but through the browser.
I copied the contents of dist to D:\WebServers\home\ember\www, restarted Denwer (Apache), opened the local address of ember and saw the expected "Welcome to Ember" message.
In order for the "secondary pages" of the ember application to work under Apache, you need to configure a single entry point in Apache. I took a working example here: discuss.emberjs.com/t/ember-ember-cli-and-apache/7755
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question