This commit is contained in:
Jacob Babich
2021-04-26 02:35:41 -04:00
parent acdbbe6d21
commit 84b5e7ff44
27 changed files with 1866 additions and 1876 deletions

View File

@@ -1,2 +1,20 @@
# My University Website
This is a micro-project for my personal domain at my university's web server.
TODO:
```js
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