Code Monkey home page Code Monkey logo

quarkiverse / quarkus-web-bundler Goto Github PK

View Code? Open in Web Editor NEW
15.0 6.0 8.0 8.63 MB

Create full-stack web apps quickly and easily with this Quarkus extension. It offers zero-configuration bundling for your web app scripts (JS, JSX, TS, TSX), dependencies (jQuery, React, htmx, etc.), and styles (CSS, SCSS, SASS).

License: Apache License 2.0

Java 87.92% CSS 0.35% SCSS 0.88% JavaScript 8.20% HTML 2.65%
frontend quarkus-extension assets bundle esbuild full-stack javascript js sass scss

quarkus-web-bundler's Introduction

Quarkus Web Bundler

Build Issues Maven Central License

Create full-stack web apps and components with this Quarkus extension. It offers zero-configuration bundling and minification (with source-map) for your web app scripts (JS, JSX, TS, TSX), dependencies (jQuery, htmx, Bootstrap, Lit etc.), and styles (CSS, SCSS, SASS).

  • Production build
  • Awesome Dev experience
  • Integrated with NPM dependencies through mvnpm or webjars.
  • Build-time index.html rendering with bundled scripts and styles
  • Server Side Qute Components (Qute template + Script + Style)

Is it the same as Quinoa? It is very close but:

  • It is already integrated with a bundler (esbuild, which is very similar to Webpack or Rollup)
  • NodeJS is not needed
  • It works without any configuration
  • All the npm catalog is available directly as dependencies in your pom.xml/build.gradle

When should I use Quinoa instead?

  • I have a dedicated UI team very familliar with the NodeJS eco-system
  • I need a very specific NodeJs/Bundling configuration that the web-bundler does not cover

How to test my Web App without Jest or similar?

Use @QuarkusTest with Quarkus Playwright. It is very easy to create full-stack tests to cover all your scenarios (and re-using all the backend testing data).

Can I swith from Quinoa to the Web Bundler?

Yes, just move your web-dependencies to the pom.xml/build.gradle and follow the web-bundler structure, the output app should be the same.

Can I swith from the Web Bundler to Quinoa?

Yes, you just need to use a framework (like Vite) and switch to a package.json and follow your framework structure, the output app should be the same.

All the information you need to use Quarkus Web Bundler is in the user documentation.

Contributors ✨

Thanks goes to these wonderful people (emoji key):

Andy Damevin
Andy Damevin

💻 🚧
Phillip Krüger
Phillip Krüger

💻
Chris Ruffalo
Chris Ruffalo

💻
Melloware
Melloware

🚇
Selim Dinçer
Selim Dinçer

🐛
blazmrak
blazmrak

🧑‍🏫
Egor
Egor

🐛
Rasmus Haglund
Rasmus Haglund

🤔
Erik Jan de Wit
Erik Jan de Wit

💻

This project follows the all-contributors specification. Contributions of any kind welcome!

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.