-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to add custom widgets? #2
Comments
I solved this problem by using the maven shade plugin and now everything works ok. |
@bkmeneguello Maybe next time you fix an issue you could, i dont know, maybe, post your solution? |
Sorry, I didn't posted because it requires a small tutorial about.
But put simple, you need to replicate the same directory structure that
jashing uses for its resources into your application, as is you where not
using it as a library.
Em Sex, 9 de fev de 2018 17:07, DaPutzy <[email protected]> escreveu:
… @bkmeneguello <https://github.com/bkmeneguello> Maybe next time you fix
an issue you could, i dont know, maybe, post your solution?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQuOFewyiZM4_xAe83pNFZKqTckLHGhks5tTJd3gaJpZM4Ly34k>
.
|
@bkmeneguello Sry for being so grumpy,... This is my resource folder:
But when running the application / packaging the jar only my files will exist, not the default ones. I tried playing around with maven shade but its driving me maaaaaaaaaad. |
The default ones will be into the jashing jar, they will be loaded by
classpath loading.
Unfortunately I cannot help much more because I don't have access anymore
to the project that I've made with jashing.
Em Sex, 9 de fev de 2018 18:35, DaPutzy <[email protected]> escreveu:
… Sry for being so grumpy,...
This is my resource folder:
├───statics
│ └───widgets
└───views
└───dashboards
But when running the application / packaging the jar only my files will
exist, not the default ones.
I tried playing around with maven shade but its driving me maaaaaaaaaad.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#2 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABQuOIzhy_N2Bi88-WzbdC8uFrsaGdK-ks5tTKv-gaJpZM4Ly34k>
.
|
I'm porting my Dashing board to Java. But when I try to add custom widgets to src/main/resources/statics/widgets the generated css and js becomes incorrect.
Debugging the wro4j, seems like it only support one base dir that contains the resources (since statics/widgets is inside jashing jar and at my src/main/resources, it look into the last one, missing the original resources).
What is the wright way to do this?
@see wro4j/wro4j#593
The text was updated successfully, but these errors were encountered: