mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-25 23:38:14 +00:00
dev base (kinda stable)
This commit is contained in:
13
client/entry-client-homebrew.jsx
Normal file
13
client/entry-client-homebrew.jsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react'
|
||||
import { hydrateRoot } from 'react-dom/client'
|
||||
import Homebrew from './homebrew/homebrew.jsx'
|
||||
|
||||
// CSS MUST be imported here
|
||||
import './homebrew/homebrew.less' // or wherever your CSS lives
|
||||
|
||||
window.start_app = (props) => {
|
||||
hydrateRoot(
|
||||
document.getElementById('reactRoot'),
|
||||
<Homebrew {...props} />
|
||||
)
|
||||
}
|
||||
Reference in New Issue
Block a user