Files
archival-university-website/README.md
Jacob Babich 84b5e7ff44 stuff
2021-04-26 02:35:41 -04:00

507 B

My University Website

This is a micro-project for my personal domain at my university's web server.

TODO:

const modules = import.meta.glob('')
const rawModules = {}
for (const path in modules) {
  rawModules[path] = () => import(`${path}?raw`)
}

// or

const modules = import.meta.glob('../models/docs/*/*.md')
const docs = modules.map( path => {
  return () => import(`${path}?raw`)
})

Then you should have an object called rawModules that has all the proper urls to import them as a string