c8r/kit

Be sure to include a link to Tachyons in your document?

sebastienbarre opened this issue · 0 comments

In /templates/tachyons, I'm not sure I understand what this means:

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:

    <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)...

Possibly related, running with --mode library is broken:

$ 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