will-style:Webapp的样式

  • N6_128231
    了解作者
  • 479.4KB
    文件大小
  • zip
    文件格式
  • 0
    收藏次数
  • VIP专享
    资源类型
  • 0
    下载次数
  • 2022-06-04 23:19
    上传日期
Web应用程序的样式 安装 # Required Gems gem 'sass-rails' gem 'bootstrap-sass' gem 'jquery-rails' gem 'will-style' , :git => "https://github.com/willinteractive/will-style" 要在您的应用中编写模板样式的sass文件,请使用以下生成器: rails g will : style :sass 这将在您的app / assets / stylesheets文件夹中写入一个custom-will-styles.scss文件,以便您可以包括/删除所需的任何样式。 可选库 我们使用premailer-rails内联样式化电子邮件。 如果您要发送电子邮件,请确保将其包含在Gemfile中 在本地处理WILL样式 将will-style复制到您的计算机
will-style-master.zip
内容介绍
# WILL Styles for Web Apps ### Installation ```ruby # Required Gems gem 'sass-rails' gem 'bootstrap-sass' gem 'jquery-rails' gem 'will-style', :git => "https://github.com/willinteractive/will-style" ``` To write a template styles sass file in your app, use this generator: ```ruby rails g will:style:sass ``` This will write a custom-will-styles.scss file in your app/assets/stylesheets folder so you can include / remove whatever styles you want. ### Optional Libraries We use premailer-rails to style emails inline. Be sure to include it in your Gemfile if you're sending emails ### To Work On WILL Style Locally Clone will-style to your machine. Use the local version of the gem like this: ```ruby gem 'will-style', :path => "/path/to/will-style" ``` If you add any files to this gem as you're working on it locally, you need to commit the files before they'll be accessible. You don't have to push that commit, just remember to commit the files as soon as you create them so you can work with them. Finally, when switching between the local and the remote gem, be sure to delete: * tmp/cache and restart the app by saving: * tmp/restart.txt
评论
    相关推荐