GithubHelp home page GithubHelp logo

getrailsui / railsui Goto Github PK

View Code? Open in Web Editor NEW
336.0 10.0 54.0 33.42 MB

Professionally designed templates and components for Ruby on Rails.

Home Page: https://railsui.com

License: Other

Ruby 1.39% JavaScript 53.83% CSS 1.42% HTML 43.34% Shell 0.01%
rails ruby-on-rails ui ruby tailwind tailwindcss tailwindui

railsui's People

Contributors

brandondrew avatar claudey avatar cuilei5205189 avatar dependabot[bot] avatar depfu[bot] avatar justalever avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

railsui's Issues

Why does install generator include Devise and a User model?

I just tried setting up Rails UI for the first time and was super intrigued by the project. But I'm curious why the install generator offers no ability to customize what's installed? In particular, I'm concerned about the obligatory inclusion of Devise along with a User model, something my app currently doesn't have or need. At the very least I would expect some documentation that includes at least some detail on what running install includes.

I know issues that just complain about decisions aren't great, which is why I originally intended to PR changes that would have the install generator ask the user if they want a User model or Devise, but looking at setup.rb, Devise appears to be very tightly woven into various aspects if this repo, so adding such flexibility felt like a lot of extra effort to make work.

At the very least, the site's documentation and repo README should warn developers about the obligatory inclusion of Devise, and that the install generator will change and migrate your DB by default.

Sprockets::DoubleLinkError in Railsui::Page#index on fresh install

I got this error today. Same as #9.

Running rails v7.0.5

Showing /Users/username/.rbenv/versions/3.2.2/lib/ruby/gems/3.2.0/bundler/gems/railsui-e31a7b47feb0/app/views/railsui/page/_launchpad.html.erb where line # raised:

Multiple files with the same output path cannot be linked ("application.js")
In "/Users/username/Projects/development/railsui-test/app/assets/config/manifest.js" these files were linked:
  - /Users/username/Projects/development/railsui-test/app/javascript/application.js
  - /Users/username/Projects/development/railsui-test/app/assets/builds/application.js

I removed //= link_tree ../../javascript .js, is that correct way of fixing it? @justalever

Honoring the scaffold files in the project

When you install it does add the scaffold files to /lib/templates/erb/scaffold/*.erb.tt. But if you update them it still uses the templates from within the rails ui gem.

Curious if this was as a design system to support updates?

Perhaps it makes sense to have a configuration option is to allow you to select between the engine and local for the scaffold?

Error: Sprockets::Rails::Helper::AssetNotFound in Railsui::Page#index [solved]

After run bin/dev I selected the theme for the UI that we can select and the installation started I receive this error:

_Sprockets::Rails::Helper::AssetNotFound in Railsui::Page#index_

    else
          message =  "The asset #{ path.inspect } is not present in the asset pipeline.\n"
          raise AssetNotFound, message unless unknown_asset_fallback

          if respond_to?(:public_compute_asset_path)
            message << "Falling back to an asset that may be in the public folder.\n"

Then I closed and restarted with bin/dev

Duplicate lines appended to Gemfile on install

Gems seem to be appended to Gemfile without checking if they're present. This isn't a breaking issue but should probably eventually be cleaned up.

Fresh project created with Rails 7.0.3.4 and Ruby 3.1.2.

  1. Added "railsui" gem to Gemfile
  2. bundle install
  3. `$ rails railsui:install
  4. Ran into an error related to missing name_of_person gem.
  5. bundle add name_of_person
  6. completed rails railsui:install

Gemfile now has some duplicate lines at the bottom:

gem "railsui", github: "getrailsui/railsui"

gem "cssbundling-rails"
gem "devise"
gem "jsbundling-rails"
gem "name_of_person"
gem "meta-tags"
gem "cssbundling-rails"
gem "devise"
gem "jsbundling-rails"
gem "name_of_person"
gem "meta-tags"

Congratulations on the railsui launch!

Windows support for some pillars of the rails ui

I feel the lack of customization for windows support, some commands made the application crash and not give a pleasant developer experience in configuration for example. But with some effort the result, become more interestingly to use, after all the setup was made done on my try. If you have some guidance to contribute with these aspects, please share with me, I really like the project and gonna give more support for the tool soon.

Thank you for the awesome contribution with Rails UI.

Error: No yarn "build" command found

Rails 7.0.3.4
Ruby 3.1.2

Fresh rails app, added railsui gem, bundled, and $ rails railsui:install

bin/dev fails with

13:52:48 js.1   | yarn run v1.22.19
13:52:48 js.1   | error Command "build" not found.

Quick typo fix and wrong link

https://railsui.com/docs/design_system

Origins
When we create new themes most design systems -------> Should this be "are" a created first. To develop atomic patterns, we use this exercise to be more efficient in an application with many views. In the software world, you can think of this as practicing the D.R.Y. (don't repeat yourself) principle.

The bottom right navigation link appears it should link to "Interaction" instead of "Updates"

Error with a gem on fresh installation [solved]

Hi there,

Im just trying you gem (I think it is a great project, thanks). And I have find.

I just created a new project with Rails v 7.0.4.3 and Ruby 3.2.2.

After follow the steps:

  1. gem "railsui", github: "getrailsui/railsui"
  2. bundle install
  3. rails railsui:install
  4. bin/dev

I encountered an error with a preinstalled gem on Rails:

Could not find gem 'image_processing'(~> 1.2) in locally installed gems

I solved it doing bundle update on the console

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.