• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

Blastman/webpack-gradle: Spring boot application using webpack and react

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

Blastman/webpack-gradle

开源软件地址(OpenSource Url):

https://github.com/Blastman/webpack-gradle

开源编程语言(OpenSource Language):

JavaScript 54.8%

开源软件介绍(OpenSource Introduction):

webpack-gradle

This project is a sample Spring boot application using Webpack and React. The goal of this application is to show a simple project using React as a Javascript framework with Spring Boot. The JS framework can be anything though.

The gradle file is setup so that webpack is always run before bootRun. There are also utility watchJS script files that can be run on *nix/Windows which will watch your JS files and recreate a bundle. You'll need to refresh your page to see the changes though but you will not need to restart your Spring Boot app.

For a better step by step build up on this project, check out the blog post associated with this project. If you're a Java developer new to the JS world, then it's worth a read as I go over npm and package.json and how they are used.

The watch scripts can be used after initializing the project. Type ./gradelw bootRun (or run via gralde task in IDE) then you can use the watch script. Running gralelw bootRun or gradlew build will initialize the node_modules directory.




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap