Open sebastienbarre opened 6 years ago
In /templates/tachyons, I'm not sure I understand what this means:
/templates/tachyons
Be sure to include a link to Tachyons in your document: <link rel='stylesheet' href='https://unpkg.com/tachyons@4.9.1/css/tachyons.min.css'>
What document? The kit.config.js file already seems to include Tachyons:
kit.config.js
<link rel="stylesheet" href="https://unpkg.com/tachyons@4.9.1/css/tachyons.min.css" />
and yet it does not seem the CSS file is being loaded (if you navigate to http://localhost:8080/Button for example)...
http://localhost:8080/Button
Possibly related, running with --mode library is broken:
--mode library
$ yarn start yarn run v1.7.0 $ kit examples --mode library kit @compositor/kit-cli kit ⠹ starting dev server...✖ 「wdm」: ERROR in ../node_modules/@compositor/kit-cli/src/Library.js 19:6 Module parse failed: Unexpected token (19:6) You may need an appropriate loader to handle this file type. | | return ( > <Library {...props} examples={examples} /> | ) | } @ ../node_modules/@compositor/x0/lib/entry.js 217:48-60 217:72-84 @ multi ../node_modules/@compositor/x0/lib/entry
In
/templates/tachyons
, I'm not sure I understand what this means:What document? The
kit.config.js
file already seems to include Tachyons:and yet it does not seem the CSS file is being loaded (if you navigate to
http://localhost:8080/Button
for example)...Possibly related, running with
--mode library
is broken: