nqdy666 / wjsp Goto Github PK
View Code? Open in Web Editor NEWWEBPACK + JSP 构建多页应用
Home Page: https://wjsp.qjzd.net
WEBPACK + JSP 构建多页应用
Home Page: https://wjsp.qjzd.net
随着各种后端模版引擎的崛起,现在好像用jsp写后台的凤毛麟角了,不知作者有没有这方面的考虑呢?
文档页面 打不开,作者是否 考虑把它整理出 文件 放入 项目中
在html或者jsp中使用元素行内样式设置图片需要使<div class="banner" style="background-image: url(${require('../../assets/images/common/banner_3.png')})"></div>
这种语法,这是HtmlWebpackPlugin
默认的ejs语法能够解析的,但是用了raw-loader之后,也就无法处理了
如果不用raw-loader,那么jsp或者ftl(freemarker)也是无法打包成功的,这两个完全冲突了
当然,如果不使用<div class="banner" style="background-image:url(${require('../../assets/images/common/banner_3.png')})"></div>
这种语法,是可以不管这个问题的,但是,这种需求还是很强烈的,不知道有什么解决方式?
是否能提供一个webpack4版本的解决方案。
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.