web.community-app.index.jsx Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of code-quarkus Show documentation
Show all versions of code-quarkus Show documentation
Customize a Web Interface to generate Quarkus starter projects.
import React from 'react';
import ReactDOM from 'react-dom/client';
import 'react-app-polyfill/ie11';
import { CodeQuarkus, fetchConfig, fetchPlatform } from '../lib';
import './theme.scss';
const CLIENT_NAME = window.location.hostname;
const REQUEST_OPTIONS = { headers: { 'Client-Name': CLIENT_NAME } };
const api = {
backendUrl: window.API_URL,
clientName: CLIENT_NAME,
requestOptions: REQUEST_OPTIONS
};
const root = ReactDOM.createRoot(document.getElementById('root'));
root.render(
);
© 2015 - 2025 Weber Informatics LLC | Privacy Policy