Hello, i’m curious, can i use ember-cli and use only nginx to serve static files and restadapter for apis?
Think of ember-cli
as just a build tool, similar to GCC, Clang/LLVM. It isn’t required to serve an Ember application; it has always just been HTML and JavaScript.
When you run the command ember build
, it will produce all the HTML, CSS and JS required to run your Ember application in a browser. It is contained inside your project’s dist
folder. The contents, however and wherever contained would be utilized by your specific NGINX configuration.
Does that clear things up for you?
The super short answer is, yes.
Yes, i achieved, but the whole process is kind a pain in the ass using ember-cli, it’s much easier doing it without cli. Thanks anyway