
Security News
US Government Forces Anthropic to Pull Claude Fable Days After Launch
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.
webpack-plugin-fr-theme
Advanced tools
form-render支持antd自定义主题
yarn add webpack-plugin-fr-theme --dev
or
npm install --save-dev webpack-plugin-fr-theme
// webpack.config.js
const WebpackPluginFrTheme = require('webpack-plugin-fr-theme');
{
...
plugins: [
new WebpackPluginFrTheme(),
],
...
}
form-render对于antd的组件样式默认是引用css样式,如果项目中已经使用了antd自定义主题,这时候form-render引用的css文件会覆盖项目中的自定义样式。
因为自定义样式是通过less注入全局的样式变量来实现的,所以通过webpack plugin手动修改form-render中antd引用的样式文件,将style/css替换成style/index,去引用antd对应组件的less文件。
FAQs
form-render theme plugin
We found that webpack-plugin-fr-theme demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Anthropic says the directive cited national security concerns over a narrow jailbreak, but offered no specific technical details.

Security News
A network of 152 Chrome live wallpaper extensions hid ad tracking and made extension-driven traffic look like Google search clicks.

Company News
Socket’s first CISO brings deep experience securing high-growth SaaS companies as open source supply chain threats accelerate.