mirror of
https://github.com/Findus23/RPGnotes.git
synced 2024-09-19 15:43:45 +02:00
21 lines
558 B
TypeScript
21 lines
558 B
TypeScript
import 'vite/modulepreload-polyfill'
|
|
|
|
// import "./scss/main.scss"
|
|
import "./js/sentry"
|
|
// @ts-ignore
|
|
import {default as Dropdown} from 'bootstrap/js/src/dropdown'
|
|
// @ts-ignore
|
|
import {default as Collapse} from 'bootstrap/js/src/collapse'
|
|
|
|
import "./js/autocomplete"
|
|
import "./js/popover"
|
|
import "./js/gallery"
|
|
|
|
|
|
const bootstrapModules = [Collapse, Dropdown]
|
|
|
|
document.addEventListener('DOMContentLoaded', function () {
|
|
if (document.getElementById("id_description_md")) {
|
|
import ("./js/codemirror").then(value => console.log("loaded"))
|
|
}
|
|
})
|