mirror of
https://github.com/hydra-synth/hydra.git
synced 2025-12-05 22:40:15 +01:00
25 lines
602 B
JavaScript
25 lines
602 B
JavaScript
import devtools from 'choo-devtools'
|
|
import choo from 'choo'
|
|
import store from './src/stores/store.js'
|
|
import languageStore from './src/stores/language-store.js'
|
|
import extensionStore from './src/stores/extension-store.js'
|
|
import editorStore from './src/stores/editor-store.js'
|
|
import galleryStore from './src/stores/gallery-store.js'
|
|
|
|
import mainView from './src/views/main.js'
|
|
|
|
const app = choo()
|
|
// app.use(devtools())
|
|
app.use(store)
|
|
app.use(editorStore)
|
|
app.use(galleryStore)
|
|
|
|
app.use(languageStore)
|
|
app.use(extensionStore)
|
|
app.route('/', mainView)
|
|
app.route('/dev', mainView)
|
|
app.mount('body')
|
|
|
|
|
|
|