-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update events in all components. add functionality to open mbf viewer…
… on selection
- Loading branch information
Samantha Kraft
authored and
Samantha Kraft
committed
Apr 11, 2024
1 parent
368d754
commit e1a7273
Showing
15 changed files
with
227 additions
and
135 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,36 @@ | ||
import SparcDashboard from './src/components/SparcDashboard.vue'; | ||
import "./tailwind/output.css" | ||
|
||
export default SparcDashboard; | ||
//import { defineAsyncComponent } from 'vue' | ||
//import mitt from 'mitt' | ||
//import { useGlobalVarsStore } from './src/stores/globalVars' | ||
|
||
export default SparcDashboard; | ||
|
||
export function install(app) { | ||
// Register your component globally | ||
//app.component('SparcDashboard', SparcDashboard); | ||
|
||
// Set up any dependencies here. Example with mitt: | ||
//const emitter = mitt(); | ||
//app.config.globalProperties.$emitter = emitter; | ||
|
||
// const componentMap = [ | ||
// 'SubjectNav', | ||
// 'ImageSelector', | ||
// 'ImageViewer', | ||
// 'LocationNav', | ||
// 'FlatmapViewer', | ||
// 'BiolucidaViewer' | ||
// ] | ||
// componentMap.forEach(comp=>{ | ||
// const asyncComponent = defineAsyncComponent(() => import(`./components/${comp}.vue`)); | ||
// app.component(comp, asyncComponent); | ||
// }) | ||
|
||
//add list of components to add componet drop down | ||
//const globalVars = useGlobalVarsStore(); | ||
//globalVars.componentList = componentMap; | ||
|
||
} | ||
//instruct users to install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.