Skip to content
This repository has been archived by the owner on May 5, 2024. It is now read-only.
This repository has been archived by the owner on May 5, 2024. It is now read-only.

Stylesheet link throws exception #1

Open
boriscallens opened this issue Jun 5, 2023 · 0 comments
Open

Stylesheet link throws exception #1

boriscallens opened this issue Jun 5, 2023 · 0 comments

Comments

@boriscallens
Copy link

boriscallens commented Jun 5, 2023

I think the link to the picocss stylesheet might need an improvement.
After running the adder the below error is thrown that goes away if I remove the href value from the <link rel="stylesheet" href="import "@picocss/pico/css/pico.min.css";"> line in my app.html.
Could it be that this was supposed to be a statement in the variables.scss file instead?

Error: Not found: /import
at resolve (H:/BarelyBoris/node_modules/@sveltejs/kit/src/runtime/server/respond.js:430:13)
at resolve (H:/BarelyBoris/node_modules/@sveltejs/kit/src/runtime/server/respond.js:277:5)
at #options.hooks.handle (H:/BarelyBoris/node_modules/@sveltejs/kit/src/runtime/server/index.js:49:56)
at Module.respond (H:/BarelyBoris/node_modules/@sveltejs/kit/src/runtime/server/respond.js:274:40)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)

Is that href value supposed to be an import statement? Never saw that syntax before.
I fudged around with different quotes as the nested quotes look like trouble to me but could'nt work it out.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant