Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

请教下,样式怎么修改 #94

Closed
lxtqq opened this issue May 9, 2023 · 19 comments
Closed

请教下,样式怎么修改 #94

lxtqq opened this issue May 9, 2023 · 19 comments

Comments

@lxtqq
Copy link

lxtqq commented May 9, 2023

左边和右边的宽度有块区域空着
image
我想改下宽度,还有中间区域,宽度也比较窄,我也想改宽些。
java开发,前端开始学🤣,以前用的docsify

@lxtqq
Copy link
Author

lxtqq commented May 9, 2023

image
还想请教下,你这的标签是怎么设置的,GitHub的连接怎么修改

@ATQQ
Copy link
Owner

ATQQ commented May 9, 2023

可以看一下 主题的使用文档哦https://theme.sugarat.top/sop/quickStart.html

@ATQQ
Copy link
Owner

ATQQ commented May 9, 2023

image 还想请教下,你这的标签是怎么设置的,GitHub的连接怎么修改

image 还想请教下,你这的标签是怎么设置的,GitHub的连接怎么修改

标签是在每一篇文章里设置的,会自动生成到首页

github地址在.vitepress/config里指定

@ATQQ
Copy link
Owner

ATQQ commented May 9, 2023

@ATQQ
Copy link
Owner

ATQQ commented May 10, 2023

@wanghuohuoyan 同学的 问题解决了吗 ❓

@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

Owner

解决了,谢谢大佬👍👍👍

@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

Uploading image.png…
你这个配置,很强👍👍👍👍👍

@ATQQ ATQQ closed this as completed May 11, 2023
@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

@wanghuohuoyan 同学的 问题解决了吗 ❓

大佬,请教下有没有tabs这种功能呀?
Uploading image.png…

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

我这看不到你发的图片,看着你没有上传成功

@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

我这看不到你发的图片,看着你没有上传成功

image
docsify其中的一个组件

<script src="https://cdn.jsdelivr.net/npm/docsify-tabs@1"></script>

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

@wanghuohuoyan issue 交流不方便的话 你加我私信也行 😃

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

看到图片了,主题没有添加这个功能。我记一下,有时间可以实现 哈哈

@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

看到图片了,主题没有添加这个功能。我记一下,有时间可以实现 哈哈

强👍👍👍👍👍

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

VitePress目前只针对代码提供了一个 code group

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

https://vitepress-plugins.sapphi.red/tabs/

我看社区好像有一个(⊙o⊙)… 你看看能用不

@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

https://vitepress-plugins.sapphi.red/tabs/

我试过报错,然后问了作者,说这些插件只支持ESM🤣

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

https://vitepress-plugins.sapphi.red/tabs/

我试过报错,然后问了作者,说这些插件只支持ESM🤣

fork一下 改改构建产物 😄 加个cjs格式

https://github.com/sapphi-red/vitepress-plugins/blob/7f4c8fe683650f6e8b82addc92c187fe07801fd4/packages/vitepress-plugin-tabs/tsup.config.ts#L1-L7

@ATQQ ATQQ mentioned this issue May 11, 2023
@lxtqq
Copy link
Author

lxtqq commented May 11, 2023

https://vitepress-plugins.sapphi.red/tabs/

我试过报错,然后问了作者,说这些插件只支持ESM🤣

fork一下 改改构建产物 😄 加个cjs格式

https://github.com/sapphi-red/vitepress-plugins/blob/7f4c8fe683650f6e8b82addc92c187fe07801fd4/packages/vitepress-plugin-tabs/tsup.config.ts#L1-L7

刚刚开始学前端,没搞懂怎么加🤣

@ATQQ
Copy link
Owner

ATQQ commented May 11, 2023

哈哈 那先学习吧

我先建个issue 抽空整一下:#96

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants