Skip to content

codeandwander/chrispress

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Chrispress

Installation

Clone the repo into your Wordpress themes directory and activate it via the admin dashboard.

cd wordpress/wp-content/themes
git clone https://github.com/codeandwander/chrispress.git

Install dependencies

npm install

You may need to install Webpack globally npm install webpack -g

Development

Webpack bundles all JavaScript files saved in the /js/_chrispress directory. Use import in index.js to include new JS files. i.e import './_chrispress/modal.js'.

Bundled JS file is index.min.js

Webpack also bundles Sass (SCSS) into CSS from the same index.js file.

npm run dev

Production

This command minifies and mangles JS and CSS for the moment.

npm run prod

P.S Generated a skeleton theme from Underscores , so there's still a lot of 💩 laying around...

About

A Wordpress Boilerplate built with Webpack, Sass and Custom Fields

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors