Skip to content

scottmcallister/daisify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Daisify

Daisify is a shell script that can be used to easily set up Daisy UI in a new rails application. This includes adding the necessary javascript files, adding a theme to the main html template, and setting up custom scaffold templates that work well with Daisy UI conventions.

Usage

rails new myapp --css=tailwind
cd myapp
daisify

You can also specify a particular theme by passing it in as an argument

rails new myapp --css=tailwind
cd myapp
daisify halloween

Installation

You can set up an alias for daisify inside your shell configuration file (e.g. .bashrc, .zshrc, etc.):

alias daisify='/path/you/cloned/to/daisify/daisify.sh'

Also, make sure to give execute permissions to the script:

chmod +x /path/you/cloned/to/daisify/daisify.sh

About

A shell script and collection of ERB templates to quickly set up a Rails project to use Daisy UI

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages