[help wanted] How to get the plugin's options in clientAppEnhanceFiles? #98
-
I want to do something in ClientAppendanceFiles that relies on the plugin's options, but now that the Node API and the Client API are separate from each other. So what should I do? |
Beta Was this translation helpful? Give feedback.
Answered by
Mister-Hope
Apr 4, 2021
Replies: 1 comment 1 reply
-
use Here is a demo(in V1, should be similar in V2): |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
recoluan
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
use
define
.Here is a demo(in V1, should be similar in V2):
https://github.com/vuepress-theme-hope/vuepress-theme-hope/blob/9c7b58a3e24cced5d623da0bb1a53e80f1219e87/packages/comment/src/node/index.ts#L23-L28