Skip to content
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

Open
bkmeneguello opened this issue Jan 31, 2017 · 5 comments
Open

How to add custom widgets? #2

bkmeneguello opened this issue Jan 31, 2017 · 5 comments

Comments

@bkmeneguello
Copy link
Contributor

bkmeneguello commented Jan 31, 2017

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

@bkmeneguello
Copy link
Contributor Author

I solved this problem by using the maven shade plugin and now everything works ok.

@avarabyeu avarabyeu reopened this Mar 31, 2017
@DaPutzy
Copy link

DaPutzy commented Feb 9, 2018

@bkmeneguello Maybe next time you fix an issue you could, i dont know, maybe, post your solution?

@bkmeneguello
Copy link
Contributor Author

bkmeneguello commented Feb 9, 2018 via email

@DaPutzy
Copy link

DaPutzy commented Feb 9, 2018

@bkmeneguello 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.

@bkmeneguello
Copy link
Contributor Author

bkmeneguello commented Feb 9, 2018 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants