eddyson-de / tapestry-webjars Goto Github PK
View Code? Open in Web Editor NEWUse WebJars together with Tapestry
License: Apache License 2.0
Use WebJars together with Tapestry
License: Apache License 2.0
Hi!
First, really thanks for your tapestry-webjars and tapestry-react projects.
I am using tapestry-react and tapestry-webjars to have react and want it to use react-gmaps. But unfortunately when using react-gmaps I get ReferenceError: exports is not defined
.
From what I've found it means that browser doesn't support CommonJS modules. I thought that tapestry should get that resolved with its new T5.4 JavaScript framework rewrite.
Can you help me in any way? For me it looks like that JS file from webjar is being sent to browser without standard Tapestry processing. Am I right? What can I do about it?
Thanks a lot!
Jan
Hi,
i'm currently trying to use tapestry-webjars with jquery-ui. I have tried multiple path versions, but none of them works.
Currently i'm using
@Import(library = { "webjars:jquery-ui:$version/jquery-ui.js" }, stylesheet = "webjars:jquery-ui:$version/jquery-ui.css")
Both the js and the css loaded sucessfully, but within the css are references to included images in subdirectory images, e.g.
.ui-button:focus .ui-icon { background-image: url("images/ui-icons_555555_256x240.png"); }
Loading the background-image fails with:
Unable to locate asset 'webjars:META-INF/resources/webjars/jquery-ui/1.12.1/%22images%2Fui-icons_555555_256x240.png%22' (the file does not exist).
I assume the '%22' = " are the problem.
Exists there a solution? Many thanks.
Zabrimus
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.