Open
Description
As of now, we only support the quick-usage scenario via ready-to-use CSS and JS bundles.
Expert Mode
Aside from that, we also want to support the "expert" scenario for those who want to have more control over what is bundled into their app. This means:
- loading common Sass source files directly (everything except components),
- loading JS components as modules that take their Sass styles with them.
👉 Add the "module" directive to our package.json
to make the ESM way easier: https://antfu.me/posts/publish-esm-and-cjs
Caveats
src/index.js
:
import './theme.scss';
import './foundation.scss';
import './helpers.scss';
Metadata
Metadata
Assignees
Type
Projects
Status
📋 Backlog