Skip to content

bebac/opal-sass-boilerplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Opal/Sass Boilerplate

Boilerplate code to build a static Opal application with Sass based stylesheet.

Here is how to use it with Kemal.

crystal init app awsome-web-app; cd awsome-web-app

Edit awsome-web-app.cr

require "./kemal-test/*"
require "kemal"

# Matches GET "http://host:port/"
get "/" do |env|
  env.redirect "/index.html"
end

Kemal.run

Then clone this repo

git clone https://github.com/bebac/opal-sass-boilerplate.git opal; cd opal

Install all dependencies

bundle install

Build opal app

bundle exec rake

Or use guard to rebuild on changes

bundle exec guard

About

Building static ruby/opal with rake+guard

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published