Skip to content
This repository was archived by the owner on Feb 26, 2021. It is now read-only.
This repository was archived by the owner on Feb 26, 2021. It is now read-only.

CSS Import? #249

@haojia321

Description

@haojia321

Hi,
Does this TODO app use css lazyloading or it will load all the css in one shot? I dont see any import css code in this example

I actually got some issue when I was trying to import css dynamically.
For example in below file structure:
-todo
--todo.html
--todo.js
--todo.scss
-details
--details.html
--details.js
--details.scss

If I import todo.scss in todo.js, todo.scss will be loaded to the head tag dynamically. But now the issue is when I navigate to details page. todo.scss is still in the head tag. Is it as expected? I am using Iron router not flow router here.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions