Skip to content

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

Open
@sebastienbarre

Description

@sebastienbarre

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/[email protected]/css/tachyons.min.css'>

What document?
The kit.config.js file already seems to include Tachyons:

    <link
      rel="stylesheet"
      href="https://unpkg.com/[email protected]/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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions