Hello,
First at all, many thanks for your answers, I am learning a lot actually...
@Jens: I have some misunderstood in your answer :
#1
> If you use ClientBundle with CssResource your CSS code is already inlined into your app. Inlining itself does not reduce the download size, but if you use ClientBundle + CssResource GWT will minify your CSS.
I do not see the difference (can you indicate me a piece of code) between ClientBundle with CssResource and ClientBundle + CssResource ?
#2
> You have to create a separate ClientBundle/CssResource that you only use inside your admin area.
I have :
public interface AR extends ClientBundle {
public static final AR ADMIN_RES_INSTANCE = GWT.create(AR.class);
public interface Acss extends CssResource {}
@Source("A.css")
Acss adminCss();
}
(NB: "AR" = AdminResource, "Acss" = AdminCss):
My question is : "Should I call adminCss().ensureInjected() AFTER the split point ? Actually, I call ensuredInjected() in the MananaSeguro#EntryPoint() of my application.
#3
I did :
<add-linker name="xsiframe"/> <set-configuration-property name="devModeRedirectEnabled" value="true"/>
and in Chrome :
Thanks you Jens for all the usefull answers.
You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group.
To view this discussion on the web visit https://groups.google.com/d/msg/google-web-toolkit/-/UBpOfYo39q0J.
To post to this group, send email to google-web-toolkit@googlegroups.com.
To unsubscribe from this group, send email to google-web-toolkit+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/google-web-toolkit?hl=en.
No comments:
Post a Comment