Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migration Guide from Susy 2 to Susy 3 #660

Closed
bs-thomas opened this issue Oct 5, 2017 · 8 comments
Closed

Migration Guide from Susy 2 to Susy 3 #660

bs-thomas opened this issue Oct 5, 2017 · 8 comments
Assignees

Comments

@bs-thomas
Copy link

Hello there,

I was wondering if there is some sort of migration or upgrade guide from Susy 2 to Susy 3? I just did an npm-check-updates recently, bring my version up from 2 to 3. However, when I try to compile, it's bringing up errors like below. I understand these mixins are removed, but I'm a bit lost from there as to how I should upgrade.

Error: no mixin named container
Thanks!!

@mirisuzanne
Copy link
Member

That's a great idea, and doesn't exist yet.

I imagine a number of larger projects will want to stay on 2 for the time being, and we'll continue to support that. I'll try to write an update guide soon, though.

@mirisuzanne mirisuzanne added the v3 label Oct 6, 2017
@thomasdebruin
Copy link

would be really helpful, i love susy2, but find it hard to adopt susy3, partly due to getting used to flexbox, but some common examples/use cases would be helpful (in susy 2 you would this, and susy 3 like this...)

@webmasterpf
Copy link

great update of the doc but search doesn't work for me.

@mirisuzanne
Copy link
Member

@jgerigmeyer I can confirm that search isn't working on the Susy docs. Can you take a look at that?

@rootical
Copy link

rootical commented Feb 1, 2018

Sorry for being ignorant, but I couldn't find exact place where the guide was. Tried to look for it with no results. Could you please point it out?

@mirisuzanne
Copy link
Member

Sorry, it's not quite done yet. Jonny accepted this after fixing the search issue, but it's still open.

@melissjs
Copy link

melissjs commented May 2, 2019

Hi @mirisuzanne is there any update on this? Thank you!

@mirisuzanne
Copy link
Member

There are a couple articles on the website that will get you started.

But I don't think I'll ever write a full 2-3 migration guide, because I would rather help people migrate off Susy entirely. Even the "Welcome to Susy3" article is primarily a guide to moving off Susy. The %-based approach that requires tools like Susy is a hold-over from the era of float layouts, particularly pre-box-sizing. CSS Flexbox (basically universal) and Grid (not far behind) both allow for more intelligent and intrinsic layout techniques, while box-sizing removes the need for complicated gutter math. There is no particular need for a tool like Susy unless you are still using float layouts, in which case you can stay on Susy2.

I recommend gridbyexample.com and youtube.com/layoutland if you want to start learning CSS Grid. Grid By Example even provides fallback code for common layout patterns.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

7 participants