全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libplack-middleware-file-sass-perl  ]

套件:libplack-middleware-file-sass-perl(0.03-5)

libplack-middleware-file-sass-perl 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 libplack-middleware-file-sass-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.

標籤: 軟體開發: Perl 開發, 函式庫, 實做語言: Perl

其他與 libplack-middleware-file-sass-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 libplack-middleware-file-sass-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 12。7 kB34。0 kB [檔案列表]