-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
1939e14
commit 366991e
Showing
7 changed files
with
51 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
/* | ||
本项目中webpack已经支持以下别名 | ||
以下配置是为让idea识别此配置 | ||
*/ | ||
const resolve = dir => require('path').join(__dirname, dir) | ||
module.exports = { | ||
resolve: { | ||
alias: { | ||
'quasar': resolve('node_modules/quasar-framework/dist/quasar.<configured-theme>.esm.js'), | ||
'src': resolve('/src'), | ||
'components': resolve('/src/components'), | ||
'layouts': resolve('/src/layouts'), | ||
'pages': resolve('/src/pages'), | ||
'assets': resolve('/src/assets'), | ||
'plugins': resolve('/src/plugins'), | ||
'variables': resolve('/.quasar/variables') | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
// import something here | ||
|
||
// leave the export, even if you don't use it | ||
export default ({ app, router, Vue }) => { | ||
// something to do | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
// import something here | ||
|
||
// leave the export, even if you don't use it | ||
export default ({ app, router, Vue }) => { | ||
// 在这里写一些逻辑... | ||
|
||
// ...然后,启动我们的Quasar网站/应用程序: | ||
|
||
/* eslint-disable-next-line no-new */ | ||
new Vue(app) | ||
console.log('sssss') | ||
// “应用程序”具有Quasar CLI熟悉的所有功能, | ||
// 在这一点上你不需要注入任何东西 | ||
} |