GithubHelp home page GithubHelp logo

slopesweb / wp-blank Goto Github PK

View Code? Open in Web Editor NEW

This project forked from irmantastam/wp-blank

0.0 0.0 0.0 1.47 MB

Blank WordPress theme for building custom front-end

JavaScript 18.14% PHP 76.83% CSS 4.51% SCSS 0.52%

wp-blank's Introduction

wp-blank

Blank WordPress theme for building custom front-end

If you want to build your WordPress theme from scratch using your own HTML, CSS and Javascript, this is a right tool. Theme is designed to be as minimal as possible with freedom to modify it to the way you need. Use it as a starter pack for building custom front-end architecture of your project.

WordPress logo

What's included?

  • Webpack
  • Babel
  • SASS
  • PostCSS
  • Stylelint
  • Eslint

Getting Started

  • Clone this repository into your WordPress project themes directory .../wp-content/themes.
  • Navigate to the theme's root directory .../wp-content/themes/wp-blank.
  • Execute the following commands:
  • npm install
  • npm run watch - to watch for file changes and compile them on each save.
  • npm run build - to build production bundles before deployment to server.

The build

It will build CSS and JS bundles into theme's /src/dist directory based on sources inside /src/js/main.js for Javascript and /src/assets/styles/main.scss for styles. Compiled bundles are already registered in theme's functions.php file, so no additional configuration is needed. You can modify templates for your own projects in a way you need and start focusing on building your theme immediately.

wp-blank's People

Contributors

irmantastam avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.