java-quarkus-svelte-snowpack-template

Java Quarkus Svelte Snowpack Template

A template that implements Quarkus and Svelte Snowpack in the same project through a local proxy for development mode.

Everything you need to build a Svelte & Quarkus project, powered by create-svelte and quarkus;

Creating a project

# create a new project in the current directory
git clone https://github.com/tncrazvan/java-quarkus-svelte-snowpack-template .

# or
npx degit tncrazvan/java-quarkus-svelte-snowpack-template

Developing

Once you've created a project and installed dependencies with npm install (or pnpm install or yarn), start a development compiler/server:

npm run dev

And a Quarkus server:

mvn quarkus:dev

Building

Svelte apps are built with adapters, which optimise your project for deployment to different environments, like Begin, Netlify, Vercel and so on. (You can also create your own adapter — instructions TODO.)

By default, npm run build will generate a Node app that you can run with node build. To use a different adapter, install it and update your svelte.config.js accordingly. The following official adapters are available:

Top categories

svelte logo

Want a Svelte site built?

Hire a Svelte developer
Loading Svelte Themes