[add] initial commit
This commit is contained in:
10
src/index.js
Normal file
10
src/index.js
Normal file
@@ -0,0 +1,10 @@
|
||||
import './style.css'
|
||||
import '@riotjs/hot-reload'
|
||||
import { mount } from 'riot'
|
||||
import registerGlobalComponents from './register-global-components'
|
||||
|
||||
// register
|
||||
registerGlobalComponents()
|
||||
|
||||
// mount all the global components found in this page
|
||||
mount('[data-riot-component]')
|
||||
Reference in New Issue
Block a user