mirror of
https://github.com/discourse/discourse.git
synced 2025-06-02 13:05:36 +08:00

Adds plugin API: ```js import fidget from "../components/styleguide/molecules/fidget"; api.addStyleguideSection({ component: fidget, id: "fidget", category: "molecules", priority: 0, }); ``` Removes notes. You can always add `<p class="styleguide-note">` to section components to annotate them.
6 lines
119 B
JavaScript
6 lines
119 B
JavaScript
import Controller from "@ember/controller";
|
|
|
|
export default class Styleguide extends Controller {
|
|
sections = null;
|
|
}
|