fix
This commit is contained in:
parent
220f869535
commit
92dcfe3955
|
|
@ -14,7 +14,6 @@ export const prodIndex = (
|
|||
<meta charset="UTF-8">
|
||||
<meta name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0">
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
${this.head.join("\n")}
|
||||
</head>
|
||||
|
||||
|
|
|
|||
Binary file not shown.
|
|
@ -1,6 +1,5 @@
|
|||
export const files = [
|
||||
"favicon.ico",
|
||||
"index.html",
|
||||
"img/empty.png",
|
||||
"img/logo-white.png",
|
||||
"img/logo.png"
|
||||
|
|
|
|||
|
|
@ -4,6 +4,8 @@ import { GlobalContext, useLocal } from "web-utils";
|
|||
import { w } from "../utils/types/general";
|
||||
import { Loading } from "../utils/ui/loading";
|
||||
import * as pages from "./pages";
|
||||
|
||||
|
||||
export const Root: FC<{}> = ({}) => {
|
||||
const local = useLocal(
|
||||
{
|
||||
|
|
|
|||
|
|
@ -17,7 +17,19 @@ body,
|
|||
}
|
||||
|
||||
body {
|
||||
font-family: "Source Sans 3", system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
||||
font-family:
|
||||
"Source Sans 3",
|
||||
system-ui,
|
||||
-apple-system,
|
||||
BlinkMacSystemFont,
|
||||
"Segoe UI",
|
||||
Roboto,
|
||||
Oxygen,
|
||||
Ubuntu,
|
||||
Cantarell,
|
||||
"Open Sans",
|
||||
"Helvetica Neue",
|
||||
sans-serif;
|
||||
}
|
||||
|
||||
.JsxText {
|
||||
|
|
@ -43,4 +55,4 @@ body {
|
|||
|
||||
.name-of-PropertyAccessExpression {
|
||||
color: #f08c36;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@
|
|||
content="width=device-width, initial-scale=1.0, user-scalable=1.0, minimum-scale=1.0, maximum-scale=1.0"
|
||||
/>
|
||||
<title>Prasi: App Builder</title>
|
||||
<link rel="stylesheet" href="/index.css" />
|
||||
<link rel="stylesheet" href="./index.css" />
|
||||
<script>
|
||||
window.__REACT_DEVTOOLS_GLOBAL_HOOK__ = {
|
||||
isDisabled: true,
|
||||
|
|
@ -18,6 +18,6 @@
|
|||
|
||||
<body className="flex-col flex-1 w-full min-h-screen flex opacity-0">
|
||||
<div id="root"></div>
|
||||
<script src="/index.js"></script>
|
||||
<script type="module" src="./index.tsx"></script>
|
||||
</body>
|
||||
</html>
|
||||
|
|
@ -4,9 +4,9 @@ import { apiProxy } from "./base/load/api/api-proxy";
|
|||
import { loadApiProxyDef } from "./base/load/api/api-proxy-def";
|
||||
import { dbProxy } from "./base/load/db/db-proxy";
|
||||
import { Root } from "./base/root";
|
||||
import "./index.css";
|
||||
import { sworkerAddCache, sworkerRegister } from "./sworker-boot";
|
||||
import { w } from "./utils/types/general";
|
||||
|
||||
import "@fontsource/jetbrains-mono";
|
||||
import "@fontsource/source-sans-3";
|
||||
|
||||
|
|
|
|||
|
|
@ -63,7 +63,7 @@ if (build_all) {
|
|||
: "node_modules/.bin/parcel"
|
||||
),
|
||||
"build",
|
||||
"./src/index.tsx",
|
||||
"./src/index.html",
|
||||
// "--no-optimize",
|
||||
"--no-scope-hoist",
|
||||
"--dist-dir",
|
||||
|
|
|
|||
|
|
@ -16,7 +16,7 @@ export const parcelBuild = async () => {
|
|||
: "node_modules/.bin/parcel"
|
||||
),
|
||||
g.mode === "dev" ? "watch" : "build",
|
||||
"./src/index.tsx",
|
||||
"./src/index.html",
|
||||
g.mode === "dev" ? "--no-hmr" : "--no-optimize",
|
||||
"--dist-dir",
|
||||
dir.path(`app/static`),
|
||||
|
|
|
|||
Loading…
Reference in New Issue