further optimisations: optimise riki sitting, and put non-critical stylesheets at the end
This commit is contained in:
parent
7b06c7c6e1
commit
be8ae113b7
6 changed files with 27 additions and 18 deletions
14
template/components/_nonblocking.hbs
Normal file
14
template/components/_nonblocking.hbs
Normal file
|
@ -0,0 +1,14 @@
|
|||
<link rel="stylesheet" href="{{ asset 'css/noncritical.css' }}">
|
||||
<link rel="stylesheet" href="{{ asset 'css/icons.css' }}">
|
||||
|
||||
{{#if dev}}
|
||||
<script type="module">
|
||||
import "treehouse/dev/live-reload.js";
|
||||
import "treehouse/dev/picture-upload.js";
|
||||
</script>
|
||||
<link rel="stylesheet" href="{{ asset 'css/dev.css' }}">
|
||||
{{/if}}
|
||||
|
||||
<script type="module" async>
|
||||
import "treehouse/command-line.js";
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue