Skip to content
A demo application for multiple Bootstrap4 themes using webpacker.
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
app
bin
config
db
lib
log
public
test
tmp
vendor
.babelrc
.gitignore
.postcssrc.yml
Gemfile
Gemfile.lock
README.md
Rakefile
config.ru
package.json
yarn.lock

README.md

README

Prerequsites

  • Yarn must be installed on the host OS and executables present in your PATH.
  • Ruby must be installed on the host OS and executables present in your PATH.

Setup

  • Clone this repo and cd into the project directory.
  • run bundle install in a terminal.
  • run yarn install in a terminal.
  • run rails server in a terminal and ruby ./bin/webpack-dev-server in another terminal.

Usage

Once setup navigate to http://localhost:3000 in a web-browser. You can swap themes by selecting a theme from the dropdown menu in the navbar.

Disclamer

This code is for demo purposes only, many best practices for real world applications (such as testing) have been skipped. I've borrowed the Bootstrap themes from Bootswatch, you can find more here: https://bootswatch.com

You can’t perform that action at this time.