Skip to content

Commit ba0a6fb

Browse files
committed
typescript-extjs-demo
1 parent 285ff16 commit ba0a6fb

File tree

10 files changed

+158086
-659
lines changed

10 files changed

+158086
-659
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,8 @@
1-
TypeScript Vite Demo
1+
TypeScript ExtJS Demo
22
====================
33

4+
types/extjs/*.d.ts 来自:https://github.com/ExtTS/definitions/tree/master/6.2.0-classic-all-packages-no-jsdocs
5+
46
```
57
npm install
68
npm start

index.html

Lines changed: 16 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,17 @@
1+
<!DOCTYPE HTML>
2+
<html>
3+
<head>
4+
5+
<title>ext demo</title>
6+
7+
<link href="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/classic/theme-classic/resources/theme-classic-all.css"
8+
rel="stylesheet">
9+
<script src="https://cdnjs.cloudflare.com/ajax/libs/extjs/6.2.0/ext-all-debug.js"></script>
10+
<script type="module" src="./src/app.ts"></script>
11+
</head>
12+
<body>
113
<div id="main"></div>
2-
<script type="module" src="./src/index.ts"></script>
14+
</body>
15+
</html>
16+
17+

package.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,11 @@
33
"start": "vite --open"
44
},
55
"dependencies": {
6-
"react": "17.0.2",
7-
"react-dom": "17.0.2",
86
"ts-node": "10.3.0"
97
},
108
"devDependencies": {
119
"@types/node": "16.11.0",
12-
"@types/react": "17.0.30",
13-
"@types/react-dom": "17.0.9",
14-
"@vitejs/plugin-react": "1.0.4",
1510
"typescript": "4.9.4",
16-
"vite": "4.0.1",
17-
"vite-plugin-html-template": "1.1.5"
11+
"vite": "4.0.1"
1812
}
1913
}

0 commit comments

Comments
 (0)