mirror of
				https://github.com/KevinMidboe/vue-js-modal.git
				synced 2025-10-29 18:00:20 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			33 lines
		
	
	
		
			389 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
			
		
		
	
	
			33 lines
		
	
	
		
			389 B
		
	
	
	
		
			Markdown
		
	
	
	
	
	
| ##Vue.js modal
 | |
| 
 | |
| ####Simple to use vue.js modal
 | |
| 
 | |
| ####Install:
 | |
| 
 | |
| Include plugin in your main.js file.
 | |
| ```javsacript
 | |
| import 'vue-modal';
 | |
| ```
 | |
| 
 | |
| Create modal
 | |
| ```html
 | |
| <modal name="hello-world">
 | |
|   hello, world!
 | |
| </modal>
 | |
| ```
 | |
| Call it from anywhere in the app
 | |
| ```javascript
 | |
| methods: {
 | |
|   this.$modal.show('hello-word');
 | |
| }
 | |
| ```
 | |
| 
 | |
| ####Props: 
 | |
| 
 | |
| //todo
 | |
| 
 | |
| ####Screenshot:
 | |
| 
 | |
| 
 | |
| 
 |