-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Custom theme dependencies when using nmp link #193
Comments
Also tried setting
But the same errors persist |
chainWebpack: (config, isServer) => {
config.resolveLoader
.modules
.add(path.resolve(__dirname, './node_modules'))
} Can solve it temporarily as described in #353 |
Hmmm, cannot reproduced It at my side (OSX), but the solution from @meteorlxy should work for you. BTW, The mistakes which blocked the build in your project are too much. 😅 |
@ulivz what were the mistakes you encountered? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Custom theme repo used:
https://github.com/andreasvirkus/vuepress-theme-ajv
When trying to develop the theme locally with
npm link
, by running this in my Vuepress project root:It complains about dependencies missing theme-side:
But the theme works fine when installing it from the registry:
https://www.npmjs.com/package/vuepress-theme-ajv
The text was updated successfully, but these errors were encountered: