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 © 試毅-思伟 2019 all right reserved,powered by 試毅-思伟修订时间: 2019-07-03 14:33:47

results matching ""

    No results matching ""