generated from gxc-solutions/gxc-template-repo
Initial commit
This commit is contained in:
commit
bf0142bd6a
25 changed files with 2946 additions and 0 deletions
13
playground/index.html
Normal file
13
playground/index.html
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Playground</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Hello world!</h1>
|
||||
|
||||
<script type="module" src="./index.ts"></script>
|
||||
</body>
|
||||
</html>
|
||||
1
playground/index.ts
Normal file
1
playground/index.ts
Normal file
|
|
@ -0,0 +1 @@
|
|||
console.warn("Hello world!");
|
||||
26
playground/tsconfig.json
Normal file
26
playground/tsconfig.json
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
{
|
||||
"compilerOptions": {
|
||||
"target": "ES2022",
|
||||
"useDefineForClassFields": true,
|
||||
"module": "ESNext",
|
||||
"lib": ["ES2022", "DOM", "DOM.Iterable"],
|
||||
"types": ["vite/client"],
|
||||
"skipLibCheck": true,
|
||||
|
||||
/* Bundler mode */
|
||||
"moduleResolution": "bundler",
|
||||
"allowImportingTsExtensions": true,
|
||||
"verbatimModuleSyntax": true,
|
||||
"moduleDetection": "force",
|
||||
"noEmit": true,
|
||||
|
||||
/* Linting */
|
||||
"strict": true,
|
||||
"noUnusedLocals": true,
|
||||
"noUnusedParameters": true,
|
||||
"erasableSyntaxOnly": true,
|
||||
"noFallthroughCasesInSwitch": true,
|
||||
"noUncheckedSideEffectImports": true,
|
||||
},
|
||||
"include": ["./"]
|
||||
}
|
||||
11
playground/vite.config.ts
Normal file
11
playground/vite.config.ts
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
import path from "node:path";
|
||||
import { defineConfig } from "vite";
|
||||
|
||||
export default defineConfig({
|
||||
root: path.resolve(__dirname),
|
||||
resolve: {},
|
||||
server: {
|
||||
open: true,
|
||||
port: 3200,
|
||||
},
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue