baraqex 1.0.43 → 1.0.44
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/baraqex.js +1 -1
- package/dist/browser.js +137 -782
- package/dist/browser.js.map +4 -4
- package/dist/index.js +214 -883
- package/dist/index.js.map +4 -4
- package/dist/server/index.js +79 -214
- package/dist/server/index.js.map +4 -4
- package/package.json +2 -2
- package/templates/ssr-template/index.html +35 -0
- package/templates/ssr-template/package-lock.json +2664 -445
- package/templates/ssr-template/package.json +20 -14
- package/templates/ssr-template/src/App.tsx +65 -42
- package/templates/ssr-template/src/client.tsx +2 -10
- package/templates/ssr-template/src/server.ts +1 -1
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
<!DOCTYPE html>
|
|
2
|
+
<html lang="en">
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset="UTF-8">
|
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
6
|
+
<title>Frontend Hamroun SSR Template</title>
|
|
7
|
+
<meta name="description" content="Server-side rendered Frontend Hamroun application">
|
|
8
|
+
<style>
|
|
9
|
+
body {
|
|
10
|
+
margin: 0;
|
|
11
|
+
padding: 0;
|
|
12
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
|
|
13
|
+
}
|
|
14
|
+
#app-root {
|
|
15
|
+
min-height: 100vh;
|
|
16
|
+
}
|
|
17
|
+
.loading {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: center;
|
|
20
|
+
align-items: center;
|
|
21
|
+
min-height: 100vh;
|
|
22
|
+
font-size: 1.2rem;
|
|
23
|
+
}
|
|
24
|
+
</style>
|
|
25
|
+
</head>
|
|
26
|
+
<body>
|
|
27
|
+
<div id="app-root" data-ssr-root="true">
|
|
28
|
+
<div class="loading">
|
|
29
|
+
<div>Loading Frontend Hamroun App...</div>
|
|
30
|
+
</div>
|
|
31
|
+
</div>
|
|
32
|
+
<script src="/client.js" type="module" defer></script>
|
|
33
|
+
<script id="__APP_DATA__" type="application/json">{}</script>
|
|
34
|
+
</body>
|
|
35
|
+
</html>
|