generated from template/vite-react-template
	Initial commit
This commit is contained in:
		
							
								
								
									
										39
									
								
								public/demo.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								public/demo.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
<!doctype html>
 | 
			
		||||
<html lang="en">
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <meta charset="UTF-8" />
 | 
			
		||||
  <meta name="viewport" content="width=device-width, initial-scale=1.0" />
 | 
			
		||||
  <link rel="icon" type="image/png" href="https://kevisual.xiongxiao.me/root/center/panda.png" />
 | 
			
		||||
  <title>Demo</title>
 | 
			
		||||
  <style>
 | 
			
		||||
    html,
 | 
			
		||||
    body {
 | 
			
		||||
      margin: 0;
 | 
			
		||||
      padding: 0;
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
      overflow: hidden;
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    #root {
 | 
			
		||||
      width: 100%;
 | 
			
		||||
      height: 100%;
 | 
			
		||||
    }
 | 
			
		||||
  </style>
 | 
			
		||||
  <link rel="stylesheet" crossorigin href="./render.css">
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
  <div id="root"></div>
 | 
			
		||||
  <script type="module">
 | 
			
		||||
    import { render } from './render.js';
 | 
			
		||||
    console.log('render', render);
 | 
			
		||||
    const opts = {
 | 
			
		||||
      renderRoot: document.getElementById('root'),
 | 
			
		||||
    }
 | 
			
		||||
    render(opts);
 | 
			
		||||
  </script>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
		Reference in New Issue
	
	Block a user