Can't resolve '@internal/themeData' #142
Answered
by
meteorlxy
Mister-Hope
asked this question in
Q&A
-
I am getting this issue after upgrading to latest beta.14. Addtional Info: The path in
Related Info:
Vuepress config: import { path } from "@vuepress/utils";
import type { UserConfig } from "@vuepress/cli";
import type { DefaultThemeOptions } from "@vuepress/theme-default";
const config: UserConfig<DefaultThemeOptions> = {
base: process.env.VuePress_BASE || "/",
title: "Comment Plugin",
description: "Comment Plugin for VuePress",
dest: "./dist",
theme: path.resolve(__dirname, "./theme"),
themeConfig: {
logo: "/logo.svg",
navbar: [
{ text: "Home", link: "/" },
{
text: "Test",
children: [{ text: "Test", link: "/test/" }],
},
],
},
};
export default config; Custom Theme config: import type { Theme } from "@vuepress/core";
import type { DefaultThemeOptions } from "@vuepress/theme-default";
const commentTheme: Theme<DefaultThemeOptions> = {
name: "comment-theme",
plugins: [
[
"@mr-hope/comment",
{
type: "waline",
author: "Mr.Hope",
serverURL: "https://vuepress-theme-hope-comment.vercel.app",
},
],
],
};
export default commentTheme; It seems like I ran in to an internal error. Any ideas? @meteorlxy |
Beta Was this translation helpful? Give feedback.
Answered by
meteorlxy
May 18, 2021
Replies: 1 comment 1 reply
-
So where did you use the theme-data plugin? |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
meteorlxy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
So where did you use the theme-data plugin?