跳转到主要内容

Trix的Fanstatic打包

项目描述

简介

此库为 Trix 提供了对 fanstatic 的打包。

这需要在您的Web框架和 fanstatic 之间进行集成,并确保原始资源(在 js.trix 中的 resources 目录中提供)被发布到某个URL。

如何使用?

您可以从 js.trix 中导入 trix,并在需要将这些资源包含在页面上的位置使用它

>>> from js.trix import trix
>>> trix.need()

>>> from js.trix import (
...     trix_css,
...     trix_js,
... )

更改日志

1.3.0.post1 (2022-01-24)

  • 删除无效重复的 @charset #3

1.3.0 (2020-11-25)

  • 更新到 Trix 1.3.0。

1.0.0 (2019-02-27)

  • 更新到 Trix 1.0.0。

0.9.5 (2016-03-18)

  • 将 trix 作为 fanstatic 包进行初始打包。

由以下支持

AWS AWS 云计算和安全赞助商 Datadog Datadog 监控 Fastly Fastly CDN Google Google 下载分析 Microsoft Microsoft PSF 赞助商 Pingdom Pingdom 监控 Sentry Sentry 错误日志 StatusPage StatusPage 状态页面