使用Codeigniter进行SASS

编程入门 行业动态 更新时间:2024-10-17 00:23:28
本文介绍了使用Codeigniter进行SASS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个很大的codeigniter项目,正在进行/销售了一段时间。我想将SASS集成到其中,但是SASS似乎主要-并非严格-用于轨道。我一直在阅读它,即使有代码点火器的火花可以使用SASS,它也不能很好地支持它的最新版本。

I have a big codeigniter project that has been going on / selling for a while. I want to integrate SASS into it however SASS seems mainly - not strictly - for rails. I have been reading up on it and even though there are sparks for codeigniter that will allow SASS, it does not support recent versions of it very well.

我还没有看到有关如何在codeigniter上实现SASS的说明。有人可以提供一些干净的指示吗?

I have yet to see instructions on how to implement SASS on codeigniter. Anyone can provide some clean instructions please?

谢谢!

推荐答案

Sass和CodeIgniter不需要从这种意义上进行集成。它们是应用程序的独立部分。

Sass and CodeIgniter does not need to be integrated in that sense. They are separate parts of your application.

Sass是Ruby内置的CSS预处理器,但输出只是普通的CSS。您将引用这些CSS文件作为HTML(CodeIgniter视图)并将它们部署到服务器。在开发计算机上,您需要安装Ruby才能运行Sass编译器,仅此而已。

Sass is a CSS pre-processor built in Ruby, but it's output is just normal CSS. It's these CSS files that you will reference is your HTML (CodeIgniter views) and that you will deploy to your server. On your development machine you need to have Ruby installed to run the Sass compiler, but that's it.

更多推荐

使用Codeigniter进行SASS

本文发布于:2023-10-31 13:26:57,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1546217.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:Codeigniter   SASS

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!