moodle_local_treestudyplan/amd/src/vue-easy-dnd/readme-moodle.txt

14 lines
526 B
Plaintext
Raw Normal View History

Instructions for downloading and integrating vue-easy-dnd
(Unfortunately we cannot use the latest version, since that requires vue3 support, and bootstrap-vue isn't there yet...)
1. download vue-easy-dnd distribusion throuhg npm
npm install vue-easy-dnd@1.22.0
2. Copy node_modules/vue-easy-dnd/dist/vue-easy-dnd.esm.js to amd/src/vue-easy-dnd
3. Change import statements to
import './reflect-metadata';
import { Vue, Component, Prop } from './vue-property-decorator';
4. add /* eslint-disable */ to top of file