You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
560 B

3 years ago
import * as riot from 'riot'
3 years ago
3 years ago
import AppSidebar from './components/sidebar.riot'
import AppTasks from './components/tasks.riot'
3 years ago
import AppTaskButton from './components/task-new.riot'
3 years ago
import AppTaskForm from './components/task-form.riot'
3 years ago
// register components
3 years ago
riot.register('app-sidebar', AppSidebar)
riot.register('app-tasks', AppTasks)
3 years ago
riot.register('app-task-button', AppTaskButton)
3 years ago
riot.register('app-task-form', AppTaskForm)
3 years ago
// mount components
3 years ago
riot.mount('app-sidebar')
riot.mount('app-tasks')
3 years ago
riot.mount('app-task-button')
3 years ago
riot.mount('app-task-form')