首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >安装Compass 960插件时出现问题

安装Compass 960插件时出现问题
EN

Stack Overflow用户
提问于 2011-01-07 21:00:00
回答 2查看 811关注 0票数 0

我正在尝试安装gem compass 960 plugin

我做到了

代码语言:javascript
复制
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...

看起来还不错。但是..。

代码语言:javascript
复制
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

但是指南针似乎没有检测到它?

EN

回答 2

Stack Overflow用户

回答已采纳

发布于 2011-01-12 02:33:44

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

代码语言:javascript
复制
require "susy"

我在指南针谷歌小组中询问了一位similar question

票数 1
EN

Stack Overflow用户

发布于 2011-01-20 23:30:23

我是在遇到同样的问题后才遇到这个问题的。就像Rob Wilkerson说的,你需要正确的插件。

代码语言:javascript
复制
# 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
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/4625681

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档