mirror of
https://github.com/nestriness/nestri.git
synced 2025-12-12 08:45:38 +02:00
## Description **What(what issue does this code solve/what feature does it add):** Add a qwik project where we can add API(s) and a frontend which will be used to review and deploy to AWS our docker containers for testing. **How(how does it solve it):** 1. Initialise a qwik project at `apps/www` ## Required Checklist: - [ ] I have added any necessary documentation and comments in my code (where appropriate) - [ ] I have added tests to make sure my code runs in all contexts ## Further comments
34 lines
879 B
TypeScript
34 lines
879 B
TypeScript
import { component$ } from "@builder.io/qwik";
|
|
import {
|
|
QwikCityProvider,
|
|
RouterOutlet,
|
|
ServiceWorkerRegister,
|
|
} from "@builder.io/qwik-city";
|
|
import { RouterHead } from "./components/router-head/router-head";
|
|
|
|
import "./global.css";
|
|
import "@fontsource/geist-sans/400.css";
|
|
|
|
export default component$(() => {
|
|
/**
|
|
* The root of a QwikCity site always start with the <QwikCityProvider> component,
|
|
* immediately followed by the document's <head> and <body>.
|
|
*
|
|
* Don't remove the `<head>` and `<body>` elements.
|
|
*/
|
|
|
|
return (
|
|
<QwikCityProvider>
|
|
<head>
|
|
<meta charSet="utf-8" />
|
|
<link rel="manifest" href="/manifest.json" />
|
|
<RouterHead />
|
|
</head>
|
|
<body lang="en" class="min-h-screen font-sans antialiased">
|
|
<RouterOutlet />
|
|
<ServiceWorkerRegister />
|
|
</body>
|
|
</QwikCityProvider>
|
|
);
|
|
});
|