👽️ Aplica cambio de uso de estilos y javascripts

This commit is contained in:
Manuel Cillero 2023-06-26 22:28:28 +02:00
parent ea782f820d
commit bf356774f8
4 changed files with 15 additions and 20 deletions

View file

@ -29,9 +29,9 @@ impl ComponentTrait for Icon {
}
fn before_prepare_component(&mut self, rcx: &mut RenderContext) {
rcx.alter(ContextOp::AddStyleSheet(
StyleSheet::located("/minimal/icons/bootstrap-icons.css").with_version("1.8.2"),
));
rcx.alter(ContextOp::AddStyleSheet(StyleSheet::located(
"/minimal/icons/bootstrap-icons.css?v=1.8.2",
)));
}
fn prepare_component(&self, _: &mut RenderContext) -> PrepareMarkup {