Added bootstrapvue lib include instructions
This commit is contained in:
		
							parent
							
								
									b0bf34864a
								
							
						
					
					
						commit
						90e2de1c44
					
				
					 1 changed files with 23 additions and 0 deletions
				
			
		
							
								
								
									
										23
									
								
								amd/src/bootstrap-vue/readme-moodle.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										23
									
								
								amd/src/bootstrap-vue/readme-moodle.txt
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,23 @@ | ||||||
|  | Instructions for recreation: | ||||||
|  | 
 | ||||||
|  | 1. download bootstrap-vue distribusion throuhg npm | ||||||
|  |    npm install bootstrap-vue@2.23.1 | ||||||
|  | 
 | ||||||
|  | 2. Copy node_modules/bootstrap-vue/dist/bootstrap-vue.esm.js to amd/src/bootstrap-vue | ||||||
|  |    Copy node_modules/bootstrap-vue/dist/bootstrap-vue.min.css to css/bootstrap-vue | ||||||
|  | 
 | ||||||
|  | 3. Change import statements on top of bootstrap-vue.esm to: | ||||||
|  | 
 | ||||||
|  |     /* Path modifications to handle relative loading of vue in moodle context */ | ||||||
|  |     // Import Vue from dev or prod depending on the developerdebug setting. | ||||||
|  |     // (Importing both dev and prod seems easier than using dynamic imports, but I could be mistaken) | ||||||
|  |     import Config from "core/config"; | ||||||
|  |     import VueDev from '../vue/dev/vue'; | ||||||
|  |     import VueProd from '../vue/prod/vue'; | ||||||
|  |     const Vue = Config.developerdebug?VueDev:VueProd; | ||||||
|  | 
 | ||||||
|  |     import { mergeData } from './vue-functional-data-merge'; | ||||||
|  |     import Popper from 'core/popper'; // Popper is included in core | ||||||
|  |     import { Wormhole, PortalTarget, Portal } from '../portal-vue/portal-vue.esm';  | ||||||
|  |     /* End modifications */ | ||||||
|  | 
 | ||||||
		Reference in a new issue
	
	 PMKuipers
						PMKuipers