Scaffolding

This commit is contained in:
2022-01-12 08:59:52 +08:00
commit 8fd3d27a9e
17 changed files with 13151 additions and 0 deletions
+1
View File
@@ -0,0 +1 @@
export * from "@Model/Model";
+10
View File
@@ -0,0 +1,10 @@
/**
* 群体类型
*/
class Group {
}
export default Group;
export { Group };
+10
View File
@@ -0,0 +1,10 @@
/**
* 群中的个体类型
*/
class Individual {
}
export default Individual;
export { Individual };
+8
View File
@@ -0,0 +1,8 @@
import { Individual } from "./Individual";
import { Group } from "./Group";
export {
Individual,
Group
}
+6
View File
@@ -0,0 +1,6 @@
.main {
div.a {
font-size: 2.5em;
background-color: rgb(175, 204, 166);
}
}
+20
View File
@@ -0,0 +1,20 @@
import { Component, ReactNode } from "react";
import { render } from "react-dom";
import { Group } from "@Model/Group";
import "./Laboratory.scss";
class Test extends Component {
render(): ReactNode {
return <div className="main">
<div className="a">it work</div>
<div>ok</div>
</div>
}
}
render(
<Test></Test>,
document.getElementById("root")
);
console.log(new Group);