File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed
Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change @@ -413,4 +413,9 @@ function App() {
413413
414414Renders a ` <body> ` element.
415415
416+ #### ` <Bundle> `
417+
418+ Renders the necessary ` <link> ` / ` <style> ` , and ` <script> ` elements to import generated JavaScript and CSS. Use this if
419+ you do not want to manage them yourself and also do not want to use [ ` <Head> ` ] ( #head ) .
420+
416421### Islands
Original file line number Diff line number Diff line change @@ -7,3 +7,4 @@ export {Fragment} from './jsx/factory'
77export { default as Html } from './jsx/dom/builtins/Html'
88export { default as Head } from './jsx/dom/builtins/Head'
99export { default as Body } from './jsx/dom/builtins/Body'
10+ export { default as Bundle } from './jsx/dom/builtins/Bundle'
Original file line number Diff line number Diff line change 1- import State from '../../../state/state'
2- import { Volume } from 'memfs/lib/volume'
3- import Bundle from './Bundle'
1+ import { Bundle } from '#cherry-soda'
42
53export default function Head ( { children, ...props } : JSX . IntrinsicElements [ 'head' ] ) {
64 const charset = children . find ( < meta charSet /> ) ?? < meta charSet = { 'utf-8' } />
You can’t perform that action at this time.
0 commit comments