meteor / todos

The example app "Todos", written following the Meteor Guide
Other
535 stars 367 forks source link

CSS Import? #249

Open haojia321 opened 6 years ago

haojia321 commented 6 years ago

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.