Installing with eliosin's own generator-sin is the recommended way.
Add god as an NPM package.
npm install @elioway/god --save-dev
yarn add @elioway/god --dev
Locate the primary X.scss
build file within your current
project stylesheets.
gruntfile
, gulpfile
or other.
Add the following to your current project SASS build file:
@import "./node_modules/@elioway/god/stylesheets/settings";
@import "./node_modules/@elioway/god/stylesheets/theme";
Copy the settings.scss
file from
./node_modules/@elioway/god/stylesheets/settings.scss
-
Paste it alongside X.scss
into, for instance,
my_gods_settings.scss
Change the SASS build file making sure your settings gets called before god's theme:
@import "my_gods_settings";
@import "./node_modules/@elioway/god/stylesheets/theme";
<link rel="stylesheet" href="node_modules/@elioway/god/dist/css/god.min.css" />
If gulp crashes while running "watch", try this shell command in Linux.
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p