<<<<<<< HEAD
Infinity Seeker site based on vue.js
# install dependencies
npm install
# serve with hot reload at localhost:8080
npm run dev
# build for production with minification
npm run build
# build for production and view the bundle analyzer report
npm run build --reportFor a detailed explanation on how things work, check out the guide and docs for vue-loader.
Infarm Child Theme for Infarm main theme
Infarm Child Theme shares with the parent theme all PHP files and adds its own functions.php on top of the Infarm parent theme's functions.php.
IT DOES NOT LOAD THE PARENT THEMES CSS FILE(S)! Instead it uses the Infarm Parent Theme as a dependency via npm and compiles its own CSS file from it.
Infarm Child Theme uses the Enqueue method to load and sort the CSS file instead of the old @import method.
- Install the parent theme first:
https://github.com/holger1411/understrap- IMPORTANT: If you download from GitHub make sure you rename the "understrap-master.zip" file to "understrap.zip" or you might have problems using this child theme!
- Upload the infarm-child folder to your wp-content/themes directory
- Go into your WP admin backend
- Go to "Appearance -> Themes"
- Activate the Infarm Child theme
Add your own CSS styles to /sass/theme/_child_theme.scss
or import you own files into /sass/theme/understrap-child.scss
- Make sure you have installed Node.js, Gulp, and Browser-Sync [1] on your computer globally
- Open your terminal and browse to the location of your UnderStrap copy
- Run:
$ npm installthen:$ gulp copy-assets
To work and compile your Sass files on the fly start:
$ gulp watch
Or, to run with Browser-Sync:
- First change the browser-sync options to reflect your environment in the file
/gulpconfig.jsonin the beginning of the file:
"browserSyncOptions" : {
"proxy": "localhost/wordpress/",
"notify": false
}
};- then run:
$ gulp watch-bs
[1] Visit https://browsersync.io/ for more information on Browser Sync
80fab93509510fd3865ab29c3c546852d4a8c2c0