HZH-PC\HZH 4 years ago
parent
commit
31685cf209
3 changed files with 21 additions and 1 deletions
  1. 0 1
      .gitignore
  2. 10 0
      dist/index.html
  3. 11 0
      dist/main.js

+ 0 - 1
.gitignore

@@ -1,6 +1,5 @@
 .DS_Store
 node_modules
-/dist
 
 # local env files
 .env.local

+ 10 - 0
dist/index.html

@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<html>
+  <head>
+    <meta charset="utf-8" />
+    <title>起步</title>
+  </head>
+  <body>
+    <script src="main.js"></script>
+  </body>
+</html>

+ 11 - 0
dist/main.js

@@ -0,0 +1,11 @@
+/******/ (() => { // webpackBootstrap
+var __webpack_exports__ = {};
+function component() {
+    const element = document.createElement('div');
+    element.innerHTML = 'tttttttttt'
+    return element;
+  }
+  
+  document.body.appendChild(component());
+/******/ })()
+;