We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ba251d commit d9d6fb8Copy full SHA for d9d6fb8
reflex/.templates/jinja/web/pages/_app.js.jinja2
@@ -2,7 +2,7 @@
2
{% from "web/pages/macros.js.jinja2" import renderHooks %}
3
4
{% block early_imports %}
5
-import '$/styles/__reflex_global_styles.css'
+import reflexGlobalStyles from '$/styles/__reflex_global_styles.css?url';
6
{% endblock %}
7
8
{% block declaration %}
@@ -20,6 +20,10 @@ import * as {{library_alias}} from "{{library_path}}";
20
21
22
{% block export %}
23
+export const links = () => [
24
+ { rel: 'stylesheet', href: reflexGlobalStyles, type: 'text/css' }
25
+];
26
+
27
function AppWrap({children}) {
28
{{ renderHooks(hooks) }}
29
0 commit comments