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

CSS Import? #249

Open
haojia321 opened this issue Dec 28, 2017 · 0 comments
Open

CSS Import? #249

haojia321 opened this issue Dec 28, 2017 · 0 comments

Comments

@haojia321
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant