Skip to content

Wrong resolve path in stylesheet example: theme-launch #437

@GerbenPeeters

Description

@GerbenPeeters

Regarding the theme "launch" layoutData.js configuration

The following path is wrong (L19):

 head__42: html` <link rel="stylesheet" href="resolve:root/src/assets/styles.css" /> `,

It should be:

 head__42: html` <link rel="stylesheet" href="resolve:#src/assets/styles.css" /> `,

Given that (i) the package.json includes:

  "imports": {
    "#src/*": "./site/src/*"
  }

and that (ii) you have a styles.css in the /site/src/assets/ folder.


As a suggestion, it could be convenient to add a styles.css document on the said location by default (e.g. a copy from variables.css), such that you can immediately start playing around with your css variables.

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