Everything you need to build a Svelte & Quarkus project, powered by create-svelte
and quarkus
;
# 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
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
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: