diff options
Diffstat (limited to 'static/pages/login/index.js')
| -rw-r--r-- | static/pages/login/index.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/static/pages/login/index.js b/static/pages/login/index.js index 15a6016..0390cc0 100644 --- a/static/pages/login/index.js +++ b/static/pages/login/index.js @@ -2,7 +2,9 @@ import icons from 'icons'; import * as sfw from 'sfw'; const { Div, Label, H1: Title, Input, Button, Form } = sfw.element.native; -const css = await sfw.css(import.meta.url, './index.css'); +import stylesheet from './index.css'; + +const css = await sfw.css.sheet(stylesheet); export default class LoginView extends sfw.element.Container { #container |