getrailsui / railsui Goto Github PK
View Code? Open in Web Editor NEWProfessionally designed templates and components for Ruby on Rails.
Home Page: https://railsui.com
License: Other
Professionally designed templates and components for Ruby on Rails.
Home Page: https://railsui.com
License: Other
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.
Install went fine but the app crashed after selecting Bootstrap or Tailwind with this error.
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
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?
After a fresh installation and run bin/dev
i found this problem:
Error with Sprockets::DoubleLinkError ... ("application.js")
Solved removing //= link_tree ../builds
from mainfest.js
Dont know if its the best solution
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
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.
name_of_person
gem.bundle add name_of_person
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!
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.
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.
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"
After running bin/dev
, on a project started from zero, I have an ActiveRecord::PendingMigrationError, solved running:
bin/rails db:migrate RAILS_ENV=development
Hope this help.
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:
gem "railsui", github: "getrailsui/railsui"
bundle install
rails railsui:install
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
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.