diff --git a/amd/src/bootstrap-vue/readme-moodle.txt b/amd/src/bootstrap-vue/readme-moodle.txt index 56ec0a0..85c31e1 100644 --- a/amd/src/bootstrap-vue/readme-moodle.txt +++ b/amd/src/bootstrap-vue/readme-moodle.txt @@ -1,4 +1,4 @@ -Instructions for recreation: +Instructions for downloading and integrating bootstrap-vue 1. download bootstrap-vue distribusion throuhg npm npm install bootstrap-vue@2.23.1 diff --git a/amd/src/portal-vue/readme-moodle.txt b/amd/src/portal-vue/readme-moodle.txt new file mode 100644 index 0000000..b4bb2d3 --- /dev/null +++ b/amd/src/portal-vue/readme-moodle.txt @@ -0,0 +1,18 @@ +Instructions for downloading and integrating portal-vue + +1. download bootstrap-vue distribusion throuhg npm + npm install portal-vue + +2. Copy node_modules/portal-vue/dist/portal-vue.esm.js to amd/src/portal-vue + +3. Change import statements on top of bootstrap-vue.esm to: + + /* Modification to handle relative loading of vue */ + // 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; + /* End modification */ + diff --git a/amd/src/simpleline/readme-moodle.txt b/amd/src/simpleline/readme-moodle.txt new file mode 100644 index 0000000..da2234d --- /dev/null +++ b/amd/src/simpleline/readme-moodle.txt @@ -0,0 +1,4 @@ +Instructions for downloading and integrating SimpleLine + +1. Download simpleline.js and any support .js files from https://github.com/miqraeng/simpleline +2. Copy them to this location