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
VuePress v2 config not working (no output) #313
Comments
thanks for this - having looked into it seems a new plugin definition is going to be required for v2. |
ok cool ! I'll be looking forward to this very much. |
after upgrade vuepress to version 2.0.0-beta.46, TS2322: Type 'string' is not assignable to type 'Plugin'. my package.json like this: |
looking forward this plugin for VuePress v2 |
@tohagan apologies for delay in getting this out - VuePress v2 support added in vuepress-plugin-typedoc@0.11.0 import { defaultTheme } from 'vuepress';
import { typedocPlugin } from 'vuepress-plugin-typedoc/next';
module.exports = {
theme: defaultTheme({}),
plugins: [
typedocPlugin({
// plugin options
entryPoints: ['../src/index.ts'],
tsconfig: '../tsconfig.json',
}),
],
}; |
Thank you very much!! Greatly appreciated. |
I'm attempting to get this nice plugin to work for VuePress v2.
When I use the config you've documented, VuePress v2 emits a warning on startup that its ignored an "anonymous" plugin.
The actual message was: "an anonymous plugin or theme was detected and ignored"
I noticed that many of the other v2 plugins use a "name" property on an object .. so I tried using
... and also ...
Both of these removed the warning ... but alas still nothing was generated !
So I wondered if perhaps you could update your documentation to show the correct config for both VuePress v1 and v2.
Any other clues about how I could debug / diagnose the fault if one of these configs are correct.
My package.json contains ...
The text was updated successfully, but these errors were encountered: