套件: libplack-middleware-file-sass-perl (0.03-4)
libplack-middleware-file-sass-perl 的相關超連結
Trisquel 的資源:
下載原始碼套件 libplack-middleware-file-sass-perl:
- [libplack-middleware-file-sass-perl_0.03-4.dsc]
- [libplack-middleware-file-sass-perl_0.03.orig.tar.gz]
- [libplack-middleware-file-sass-perl_0.03-4.debian.tar.xz]
維護者:
Original Maintainers:
- Debian Perl Group (郵件存檔)
- Jonas Smedegaard
外部的資源:
- 主頁 [search.cpan.org]
相似套件:
- python3-django-sass-processor
- libplack-middleware-logany-perl
- libplack-middleware-logerrors-perl
- libplack-middleware-logwarn-perl
- libplack-middleware-expires-perl
- libplack-middleware-crossorigin-perl
- libplack-test-anyevent-perl
- libplack-middleware-header-perl
- libplack-test-agent-perl
- libplack-perl
- libplack-middleware-csrfblock-perl
Sass and SCSS support for all Plack-based PSGI frameworks
PSGI is a specification to decouple web server environments from web application framework code. Plack is an implementation of PSGI.
Plack::Middleware::File::Sass is a Plack middleware component that works with Plack::App::File or Plack::Middleware::Static to compile Sass templates into CSS stylesheet in every request.
When a request comes in for *.css* file, this middleware changes the internal path to *.sass* or *.scss*, depending on the configuration, in the same directory. If the Sass template is found, a new CSS stylesheet is built on memory and served to the browsers. Otherwise, it falls back to the original *.css* file in the directory.
This middleware should be very handy for the development. While Sass to CSS rendering is reasonably fast, for the production environment you might want to precompile Sass templates to CSS files on disk and serves them with a real web server like nginx or lighttpd.
Text::Sass provides only a limited Sass implementation, so the Ruby implementation is recommended even when Text::Sass is available.
其他與 libplack-middleware-file-sass-perl 有關的套件
|
|
|
-
- dep: libplack-perl
- interface between web servers and Perl web applications
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
-
- dep: ruby-sass
- powerful but elegant CSS compiler that makes CSS fun again
- 或者 libhaml-ruby (<< 3.1)
- 套件暫時不可用
- 或者 libtext-sass-perl
- implementation of the Sass CSS meta-language
-
- rec: ruby-sass
- powerful but elegant CSS compiler that makes CSS fun again
- 或者 libhaml-ruby (<< 3.1)
- 套件暫時不可用