global-sass
global-twig
components/style.scss
:style.css
that compiles all the styles from your global-sass directory, this import will automatically pull in all of those styles. See our Western University project and sass project's style.css for an example of this. twig-loader
namespaces are all from our global package). This is helpful when working on a global project like a main organization project. If you need some global and local, like on a property, you can use something like in the Western School of Arts project. Notice there are now namespaces for both global (e.g., atoms
) and local (e.g., wa_atoms
). Now you can use things like this in your Twig:npm/yarn link
. We use yarn
so I will show an example using that. You will clone down your projects separately (global-sass
,global-twig
). In each, you will want to run:*.info.yml
file to mimic any namespaces you have in Webpack for Storybook. Here's the example from Western University. And of course, for these paths to work, you will have to make sure your continuous integration process produces the node_modules
directory with your packages.