OhYee
OhYee
I have the same question.
如果内存对齐只是涉及更改顺序的话,go 为什么不在编译时和运行时自动进行对齐呢? 如果编译时存在跨平台优化问题,那么运行时应该可以确定如何对齐最优吧。
@zhcoders 明白了,没考虑到跨平台数据传输的问题,感谢 👍
> 处理请求的时候好像没使用go原生的context,为啥?用这个HttpContext是因为能带更多信息? > ``` > // HTTPContext context of a api call > type HTTPContext struct { > Request *http.Request > Response http.ResponseWriter > buf *bytes.Buffer > header []httpHeader >...
I have add `prefix` in `themeOptions` and update next-dynamic-antd-theme to v0.0.14 https://github.com/OhYee/next-dynamic-antd-theme/blob/70be439fa24f80fd59a1ffa6d7b9ff23e5c11446/plugin.js#L19-L32 You can use `prefix: 'blah'` after update to v0.0.14 ```diff const withAntdTheme = generateTheme({ antDir: path.join(__dirname, './node_modules/antd'), stylesDir:...
This plugin based on [mzohaibqc/antd-theme-generator](https://github.com/mzohaibqc/antd-theme-generator), and antd-theme-generator only support color variables. So, you can not specify `@ant-prefix` `@border-radius-base` `@menu-bg` I am sorry, but I have no idea to fix these.
I did the test as you asked. 1. The Ant Design using less to set the default color, you can refer to https://ant.design/docs/react/customize-theme-cn This section will load along with the...
@hadnet Sorry, I only pushed 0.0.15 to Github and forgot to put it to NPM. You can now use 0.0.15. But 0.0.15 still doesn't seem to be an effective solution...
@hadnet @Woong25 I released v0.1.0 and tried to set the `@primary-color` to green, which seems to meet your requirements. https://gh-pages.oyohyee.com/next-dynamic-antd-theme/ You may need to modify the previous `next.config.js` and `.babelrc`....
@hadnet Try the custom theme mentioned in the official documentation without using next-dynamic-antd-theme https://ant.design/docs/react/customize-theme#Customize-in-webpack This plugin simply set modifyVars, and if the style is missing, there may be a problem...