在线时间:8:00-16:00
迪恩网络APP
随时随地掌握行业动态
扫描二维码
关注迪恩网络微信公众号
开源软件名称(OpenSource Name):mikaelhg/spring-boot-webpack-es6-react-poc开源软件地址(OpenSource Url):https://github.com/mikaelhg/spring-boot-webpack-es6-react-poc开源编程语言(OpenSource Language):JavaScript 52.8%开源软件介绍(OpenSource Introduction):POC: Kotlin + Spring Boot + Webpack + Babel + ReactJSmvn clean package spring-boot:run The project provides backend services using Spring Boot, and generates a nice clean JavaScript frontend
using the Maven Frontend plugin to first fetch a relevant Node.JS binary package, NPM, then run
WebPack goes on to load its Babel.JS module, and configure it with ES2015 and React Babel profiles. Babel then transpiles the JavaScript input files from shiny new ES2015 to ES5, which shitty browsers can actually run. WebPack slams all this JavaScript together: the entrypoint JS file set in the configuration file,
everything that file imports, and everything THAT imports, ad nauseam, into the (possibly giant)
Take a look at the Basically this should work on Linux x86 and x64, Windows 32 and 64 bit, and OSX. Should. You can also install NVM, have NVM install Node.JS LTS, upgrade your NPM to newest, then run But that's a story to be explored on some other night. IntelliJ IDEA usersFile -> Settings -> Languages & Frameworks -> JavaScript: JavaScript language version: JSX Harmony Libraries -> ECMAScript 6: Enabled File -> Settings -> Build, Execution, Deployment -> Compiler: Make project automatically: Enabled CTRL-SHIFT A -> Registry... : compiler.automake.allow.when.app.running: Enabled |
2023-10-27
2022-08-15
2022-08-17
2022-09-23
2022-08-13
请发表评论