🚧 Very much under construction. Not ready for use. 🚧
Template build for developing mods to Instructure's Canvas LMS using Svelte
Based on canvas-collections in turn based on tampermonkey-svelte this template aims to provide a usable build method for developing Javascript modifications to the Canvas LMS.
The template seeks to provide
- Quick and painless developer experience.
- Support for both production modifications that can be adopted both
- Institutionally using Canvas theme editor and hence available to anyone using that Canvas instance.
- Individually as a userscript with TamperMonkey or similar and hence enabling initial testing and individual adoption.
- npm as the package management
- rollup as the bundler
- Local development using Chrome
- Material for MkDocs for documentation
dev
dist
docs
src
meta.js
mkdocs.yml
package.json
README.md
rollup.build.config.js
rollup.config.js
tsconfig.json
- Clone the template repository
npm install
- Modify settings
- Pick a name for your App and rename
App.svelte
and other stuff?? - Update the name of the repo in
meta.js
As an example, the existing code produces a script that adds a hello world
message to the top of the Modules and Rubrics pages of a Canvas course.