我正在设置一个新模板,当用户单击语言按钮时,我想支持多种语言,例如阿拉伯语和英语,我需要在模板中的RTL和LTR设置位置怎么做?>
{
"base": "semantic\\",
"paths": {
"source": {
"config": "src/theme.config",
"definitions": "src/definitions/",
"site": "src/site/",
"themes": "src/themes/"
},
"output": {
"packaged": "dist/",
"uncompressed": "dist/components/",
"compressed": "dist/components/",
"themes": "dist/themes/"
},
"clean": "dist/"
},
"permission": false,
"autoInstall": false,
"rtl": false,
"version": "2.4.2"
}
答案 0 :(得分:0)
您可以使用具有双向CDN的rtlcss
项目。
https://cdn.rtlcss.com/semantic-ui/2.4.1/semantic.rtl.css
和
https://cdn.rtlcss.com/semantic-ui/2.4.1/semantic.css