ember-learn / ember-learn/cookbook

How to import CSS from an npm package?

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
2
Forks
1
PR merge metrics
No merged PRs in 30d

Description

The official ember-cli docs, and [this ember atlas page](https://www.notion.so/importing-CSS-from-a-npm-package-c15546025ce44adfbeb4907eab118e22)

say to use `app.import`.

We don't want to encourage any usage of app.import, as it's archaic AF -- _so_, I think we should document how to use css `@import` in the `app.css`.

I think with embroider and ember-auto-import, it should "just work", but it'll be good to document, as we have no examples _anywhere_.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.