add for basic-ssl
This commit is contained in:
		
							
								
								
									
										11
									
								
								demo/index.html
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								demo/index.html
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
<html>
 | 
			
		||||
 | 
			
		||||
<head>
 | 
			
		||||
  <title>Vite App</title>
 | 
			
		||||
</head>
 | 
			
		||||
 | 
			
		||||
<body>
 | 
			
		||||
  <h1>Hello Vite!</h1>
 | 
			
		||||
</body>
 | 
			
		||||
 | 
			
		||||
</html>
 | 
			
		||||
							
								
								
									
										8
									
								
								demo/vite.config.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										8
									
								
								demo/vite.config.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,8 @@
 | 
			
		||||
import { defineConfig } from 'vite';
 | 
			
		||||
 | 
			
		||||
// import { ssl } from '../dist/app.js';
 | 
			
		||||
import { ssl } from '../src/index.ts';
 | 
			
		||||
 | 
			
		||||
export default defineConfig({
 | 
			
		||||
  plugins: [ssl()],
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user