0

我正在尝试安装 gem compass 960 插件

我做了

D:\Websites\css3-mega-menu>gem install compass-960-plugin
Successfully installed compass-960-plugin-0.10.0
1 gem installed
Installing ri documentation for compass-960-plugin-0.10.0...
Installing RDoc documentation for compass-960-plugin-0.10.0...

似乎还可以。但 ...

D:\Websites\css3-mega-menu>compass frameworks
Available Frameworks & Patterns:

  * blueprint
    - blueprint/basic       - A basic blueprint install that mimics the actual blueprint css.
    - blueprint/buttons     - Button Plugin
    - blueprint/link_icons  - Icons for common types of links
    - blueprint/project     - The blueprint framework.
    - blueprint/semantic    - The blueprint framework for use with semantic markup.
  * compass
    - compass/ellipsis      - Plugin for cross-browser ellipsis truncated text.
    - compass/extension     - Generate a compass extension.
    - compass/project       - The default project layout.
  * fancy-buttons
    - fancy-buttons/project

但是罗盘似乎没有检测到它?

4

2 回答 2

1

尝试编辑您的config.rb文件并require "960gs"在顶部添加。我不能确定值本身(即它可能只是require "960"),但我必须将要求与 Susy 一起应用:

require "susy"

我在 Compass Google Group 中问了一个类似的问题。

于 2011-01-11T18:33:44.193 回答
0

在遇到同样的问题后,我刚刚遇到了这个问题。就像 Rob Wilkerson 说的那样,您需要正确的插件。

# Require any additional compass plugins here.
require "ninesixty" 
# Set this to the root of your project when deployed:
http_path = "/"
css_dir = "stylesheets"
sass_dir = "src"
images_dir = "images"
javascripts_dir = "javascripts"
# To enable relative paths to assets via compass helper functions. Uncomment:
# relative_assets = true
于 2011-01-20T15:30:22.593 回答