![]() You create the collections you want, named whatever you want, wherever you want, and nothing more the BZFlag site consists of 7 collections: Some SSGs have an opinion on where your collections should live and how they should be named. Some static site generators (SSGs) are designed for blogging, so collections for blog posts exist by default. Just like a certain copyrighted animated individual, you want to collect them all! At its core, collections are one of stakx's most powerful feature. Collections + Searching to "Collections + Searching" section Despite some of the shortcomings of the PHP implementation of Sass, such as slowness and some bugs, it's a solid library and it's what stakx uses at its core.Ĭonclusion: There is absolutely no need to bring in Node as a dependency for the majority of cases. I designed and built stakx to be the only executable you need to get a full-fledged static site built and I have accomplished just that. I have utility classes in my Sass but only the ones I need: I have margin() and padding() mixins just so I can use them in the same way I would in HTML: padding(x, 3) // px-3 padding(y, 4, md) // py-md-4 I have Sass variables and mixins to keep consistent values throughout my classes such as margin and padding. With the above example, I followed BEM with my CSS naming convention and all I'm using is good old Sass to generate whatever classes I need. Do you really need to bring in hundreds of dependencies just to build a website? The answer is a resounding no. Think about your project and requirements. There are times it's better just to do things "old school." Stop following the trends and think. I'm aware of all the hype behind CSS Modules, CSS in JS, Styled Components, and hundreds more. Create my own custom classes at which point, why the hell am I using Tailwind to begin with?.Create a custom Tailwind build, which means I now I have to bring in a node_modules folder with at least 80 dependencies and require all developers working on the site to have Node installed in addition to PHP. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |