Bug: unable to get darkmode class in Vue applications with render function #367
Replies: 3 comments 21 replies
-
This should be a bug, but I am not finding the problem is at a glance. I tried to manually add And I can see that the artalk div has |
Beta Was this translation helpful? Give feedback.
-
The backend provides a new feature called
https://artalk.js.org/guide/backend/fe-control.html By default, The backend API provides the config which can then override the frontend (i am considering removing the user's control of the The dark mode state in Artalk Instance can be set by calling However, the app lifecycle may be a bit confusing due to the constantly evolving development document and version. I apologise for this. 😅 We have implemented a tiny component that integrates with Artalk and is used well in our currently published documentation site. The dark mode feature works well, as far as I can see, and it may be helpful for reference: Artalk/docs/.vitepress/theme/Artalk.vue Lines 67 to 80 in 34e59e6 Related content that may be useful: Artalk/ui/packages/artalk/src/context.ts Line 265 in d52b2f5 If you have any questions, feel free to reach out to me for further discussion. Thanks! |
Beta Was this translation helpful? Give feedback.
-
I still need some help here:
Artalk is yeilding this, and the line is Could you plz check your code to see why |
Beta Was this translation helpful? Give feedback.
-
I do not think this is expected:
Beta Was this translation helpful? Give feedback.
All reactions