From f6cd15a674049e822860d679e5e24925b9bc8e38 Mon Sep 17 00:00:00 2001 From: PMKuipers Date: Tue, 22 Aug 2023 16:54:52 +0200 Subject: [PATCH] Added library maintainance instructions --- amd/src/bootstrap-vue/readme-moodle.txt | 2 +- amd/src/portal-vue/readme-moodle.txt | 18 ++++++++++++++++++ amd/src/simpleline/readme-moodle.txt | 4 ++++ 3 files changed, 23 insertions(+), 1 deletion(-) create mode 100644 amd/src/portal-vue/readme-moodle.txt create mode 100644 amd/src/simpleline/readme-moodle.txt 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