没有合适的资源?快使用搜索试试~ 我知道了~
proto-react-rails
共71个文件
rb:28个
keep:16个
yml:4个
需积分: 5 0 下载量 12 浏览量
2021-06-14
22:07:38
上传
评论
收藏 39KB ZIP 举报
温馨提示
React原型 这是一个使用 react-rails gem 和 rails 4.1.9 的原型。 安装 rails new proto_react_rails 生成脚手架模型 我使用脚手架发电机快速启动: rails g scaffold Post title : string content : text attachment : string media : string 修复您的 config/routes.rb 以转到主页,更改为: root "posts#index" 将 react-rails 添加到您的 gemfile 宝石档案: gem "react-rails" , github : "reactjs/react-rails" , branch : "master" gem "showdown-rails" 让我们将资产添加到 application
资源推荐
资源详情
资源评论
收起资源包目录
proto-react-rails-master.zip (71个子文件)
proto-react-rails-master
log
.keep 0B
bin
rake 164B
spring 461B
rails 220B
bundle 129B
vendor
assets
javascripts
.keep 0B
stylesheets
.keep 0B
config
locales
en.yml 634B
database.yml 552B
initializers
filter_parameter_logging.rb 194B
assets.rb 377B
wrap_parameters.rb 517B
backtrace_silencers.rb 404B
session_store.rb 149B
cookies_serializer.rb 128B
mime_types.rb 156B
inflections.rb 647B
application.rb 986B
routes.rb 2KB
boot.rb 170B
secrets.yml 964B
environment.rb 150B
environments
test.rb 2KB
development.rb 1KB
production.rb 3KB
db
seeds.rb 343B
migrate
20150324081354_create_posts.rb 217B
schema.rb 1007B
Rakefile 249B
test
models
post_test.rb 118B
.keep 0B
test_helper.rb 312B
controllers
posts_controller_test.rb 1KB
.keep 0B
mailers
.keep 0B
integration
.keep 0B
fixtures
posts.yml 251B
.keep 0B
helpers
.keep 0B
posts_helper_test.rb 72B
app
uploaders
attachment_uploader.rb 1KB
models
post.rb 85B
concerns
.keep 0B
.keep 0B
assets
images
.keep 0B
javascripts
application.js 703B
posts.js.jsx 3KB
stylesheets
posts.css.scss 176B
scaffolds.css.scss 1KB
application.scss 736B
controllers
concerns
.keep 0B
posts_controller.rb 2KB
application_controller.rb 204B
views
layouts
application.html.erb 304B
posts
index.json.jbuilder 140B
index.html.erb 178B
mailers
.keep 0B
helpers
application_helper.rb 29B
posts_helper.rb 23B
Gemfile 1KB
Gemfile.lock 4KB
.gitignore 482B
lib
tasks
.keep 0B
assets
.keep 0B
public
404.html 2KB
robots.txt 202B
500.html 1KB
422.html 2KB
favicon.ico 0B
README.md 3KB
config.ru 154B
共 71 条
- 1
资源评论
洋林
- 粉丝: 28
- 资源: 4575
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功