1. config.rb

配置好这个文件里的文件路径,如:

http_path = "/"
css_dir = "builds/css"
sass_dir = "srcs/scss"
images_dir = "builds/images"
javascripts_dir = "builds/js"

直接运行命令语句:compass watch 可编译scss

放开代码:# output_style = :compressed  去掉前面的“#”这时css能被时时压塑

Copyright © 试剑江湖 2020 all right reserved,powered by Gitbook修订时间: 2023-02-26 13:36:34

results matching ""

    No results matching ""