select styled
This commit is contained in:
+2
-1
@@ -42,6 +42,7 @@ const MODULES: &[&str] = &[
|
||||
"url-state",
|
||||
"vendor-libs",
|
||||
"security",
|
||||
"select",
|
||||
];
|
||||
|
||||
pub fn render_html(
|
||||
@@ -152,7 +153,7 @@ impl<'a> AssetUrls<'a> {
|
||||
fn entrypoint(&self, name: &str) -> String {
|
||||
let entrypoint = self.url(&format!("js/{name}.js"));
|
||||
format!(
|
||||
r#"<script type="module">import {{ initI18n }} from "@rustpad/i18n";import {{ initHeaderPreferences }} from "@rustpad/preferences";await initI18n();initHeaderPreferences();await import("{}");</script>"#,
|
||||
r#"<script type="module">import {{ initI18n }} from "@rustpad/i18n";import {{ initHeaderPreferences }} from "@rustpad/preferences";import {{ initSelectControls }} from "@rustpad/select";await initI18n();initHeaderPreferences();await import("{}");initSelectControls();</script>"#,
|
||||
escape_js_string(&entrypoint)
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user