Skip to content

Migration Guide

Dennis Thompson edited this page Mar 9, 2020 · 2 revisions

3.x to 4.x

  • Rename all references to:
- @import node_modules/skeleton-sass-official/skeleton/...
+ @import node_modules/skeleton-sass-official/src/...
  • normalize-scss is now a peer dependency which means you need to install it yourself:
npm i normalize-scss -D

# yarn
yarn add normalize-scss --dev
  • Stop using bower, skeleton sass 4.x does not support bower
  • !global has been removed as part of e8f96c34. if you rely on the existence of !global you should consider removing it in your own templates

2.x to 3.x

Skeleton Sass 3 is decently compatible to the 2.x series, but requires some manual labor (i.e. copy and pasting multiple files to the 2.x series). See https://github.com/atomicpages/skeleton-sass/wiki/Upgrade-from-2-to-3

1.x to 2.x

Skeleton Sass 2 is not backwards compatible with Skeleton Sass 1.x due to a major change in the file structure. However, we have a wiki article that explains how to upgrade from Skeleton Sass 1 to Skeleton Sass 2.