Skip to content

Commit 7270d7a

Browse files
committed
Fix module not found error. #17
1 parent e52bcb5 commit 7270d7a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

webpack.config.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ module.exports = env => {
4545
},
4646
resolve: {
4747
extensions,
48+
alias: {
49+
'~': join(__dirname, 'tns', 'app')
50+
},
4851

4952
// Resolve {N} system modules from tns-core-modules
5053
modules: [
@@ -213,4 +216,4 @@ function getExtensions(platform) {
213216
`.${platform}.vue`,
214217
".vue",
215218
]);
216-
}
219+
}

0 commit comments

Comments
 (0)