/fontswitcher

Real-time react component that lets you switch between fonts in your app

Primary LanguageJavaScript

Fonts switcher (react, redux, webpack)

Specify a list of Google fonts to load, and then toggle between each from a menu.

screenshot

Install

First clone or download the app to your local machine, then install all dependencies with:

$ npm install

Run

Running the app is an easy few steps after you've installed it. First boot the express server that is included by running:

$ npm start

You should be able to view the app in your web browser at: http://localhost:8080.

Dev

Want to contribute? Great!

To develop, you'll need to make sure that webpack is watching for changes that you save so that it can auto bundle everything together. To set up a webpack watcher to bundle upon each save:

$ npm run dev

To bundle one time and NOT run a watch:

$ npm run build

Hope you enjoy, cheers!