Created
March 12, 2019 14:56
-
-
Save swasher/d2369bf04f46e5eff5d531399877a4bc to your computer and use it in GitHub Desktop.
Compile Adobe Spectrum CSS
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Install nvm | |
$ wget -qO- https://raw.githubusercontent.com/creationix/nvm/v0.34.0/install.sh | bash | |
Check nvm | |
$ nvm --version | |
Find node version | |
$ nvm ls-remote | grep Latest | |
v4.9.1 (Latest LTS: Argon) | |
v6.17.0 (Latest LTS: Boron) | |
v8.15.1 (Latest LTS: Carbon) | |
-> v10.15.3 (Latest LTS: Dubnium) | |
Install nodejs (and npm) | |
$ nvm install 10.15.3 | |
Check npm | |
$ npm --version | |
6.4.1 | |
Clone spectrum | |
$ git clone https://github.com/adobe/spectrum-css.git | |
Copy to deps (see https://github.com/adobe/spectrum-css#updating-internal-dependencies) | |
$ cp -r spectrum-css/ spectrum-css-deps | |
cd | |
$ cd spectrum-css-deps | |
Install node dependencies | |
$ npm install | |
Compile | |
$ npm run build | |
Now copy 'dist' folder to your project. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment