Thanks to visit codestin.com
Credit goes to github.com

Skip to content
This repository was archived by the owner on Feb 2, 2021. It is now read-only.

Commit 89a9081

Browse files
committed
fix(module): replace wrong rootDir path by srcDir when looking for components
1 parent 99801c9 commit 89a9081

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/module.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function ContentModule(moduleOpts) {
5959
generate: []
6060
})
6161

62-
const componentsDir = join(this.options.rootDir, COMPONENTS_DIR)
62+
const componentsDir = join(this.options.srcDir, COMPONENTS_DIR)
6363
const contentDir = join(this.options.srcDir, CONTENT_DIR)
6464
const contentDirWebpackAlias = '~/' + CONTENT_DIR
6565
const port =

0 commit comments

Comments
 (0)