Stone.js API
Docs
Home
Preparing search index...
stone-js-use-react/src/cli/stubs
reactHtmlEntryPointTemplate
Function reactHtmlEntryPointTemplate
reactHtmlEntryPointTemplate
(
mainScript
?:
string
,
mainCSS
?:
string
)
:
string
The React template. This template is used to create the entry point for a React application.
Parameters
mainScript
:
string
= '<script type="module" src="/.stone/index.mjs"></script>'
mainCSS
:
string
= '<link rel="stylesheet" href="/assets/css/index.css" />'
Returns
string
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
Docs
Home
Stone.js API
Loading...
The React template. This template is used to create the entry point for a React application.