整理した
This commit is contained in:
		
							
								
								
									
										25
									
								
								src/client/app/auth/script.ts
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										25
									
								
								src/client/app/auth/script.ts
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,25 @@
 | 
			
		||||
/**
 | 
			
		||||
 * Authorize Form
 | 
			
		||||
 */
 | 
			
		||||
 | 
			
		||||
// Style
 | 
			
		||||
import './style.styl';
 | 
			
		||||
 | 
			
		||||
import init from '../init';
 | 
			
		||||
 | 
			
		||||
import Index from './views/index.vue';
 | 
			
		||||
 | 
			
		||||
/**
 | 
			
		||||
 * init
 | 
			
		||||
 */
 | 
			
		||||
init(async (launch) => {
 | 
			
		||||
	document.title = 'Misskey | アプリの連携';
 | 
			
		||||
 | 
			
		||||
	// Launch the app
 | 
			
		||||
	const [app] = launch();
 | 
			
		||||
 | 
			
		||||
	// Routing
 | 
			
		||||
	app.$router.addRoutes([
 | 
			
		||||
		{ path: '/:token', component: Index },
 | 
			
		||||
	]);
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user