mirror of
				https://github.com/scinote-eln/scinote-web.git
				synced 2025-10-31 16:49:40 +08:00 
			
		
		
		
	
		
			
				
	
	
		
			8 lines
		
	
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
			
		
		
	
	
			8 lines
		
	
	
	
		
			365 B
		
	
	
	
		
			JavaScript
		
	
	
	
	
	
| import { createApp } from 'vue/dist/vue.esm-bundler.js';
 | |
| import OpenVectorEditor from '../../vue/ove/OpenVectorEditor.vue';
 | |
| import { mountWithTurbolinks } from './helpers/turbolinks.js';
 | |
| 
 | |
| const app = createApp({});
 | |
| app.component('OpenVectorEditor', OpenVectorEditor);
 | |
| app.config.globalProperties.i18n = window.I18n;
 | |
| mountWithTurbolinks(app, '#open-vector-editor');
 |