Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
sebastienbarre opened this issue Jul 21, 2018 · 0 comments
Open

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

sebastienbarre opened this issue Jul 21, 2018 · 0 comments

Comments

@sebastienbarre
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant