Create an app with a custom client theme
I have an app with a default theme ( less
files defined in app/sytles
and included in app.less
) and available on my main website (for example http://www.example.com
)
Now I need to create the same application for different clients. Each client has its own style setting ( client.less
file) and its own resources (images, fonts, ...). This site will be deployed for example http://client1.example.com
.
My idea was to customize the build process by passing an extra flag to the command ember build --environment production
and customizing the build process by adding a file as needed client.less
. Something like ember build --environment production --theme client1
, but as far as I can see, there is no way to pass additional flags to the command build
. Am I missing something? Is there a better way to accomplish this? Any help is really appreciated, I will not support one project per client.
source to share
No one has answered this question yet
Check out similar questions: