-
Notifications
You must be signed in to change notification settings - Fork 10
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
0 parents
commit 7afb54f
Showing
51 changed files
with
20,905 additions
and
0 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,21 @@ | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
pnpm-debug.log* | ||
lerna-debug.log* | ||
uni_modules/ | ||
node_modules/ | ||
.DS_Store | ||
dist/ | ||
*.local | ||
|
||
# Editor directories and files | ||
.idea | ||
*.suo | ||
*.ntvs* | ||
*.njsproj | ||
*.sln | ||
*.sw? |
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,12 @@ | ||
/dist/* | ||
.local | ||
.output.js | ||
/node_modules/** | ||
/uni_modules/* | ||
|
||
**/*.svg | ||
**/*.sh | ||
|
||
/public/* | ||
|
||
src/manifest.json |
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,30 @@ | ||
// @ts-check | ||
const prettier = require('prettier'); | ||
|
||
/** | ||
* @type {prettier.Config} | ||
*/ | ||
const config = { | ||
printWidth: 220, | ||
// 尽可能添加逗号 | ||
trailingComma: 'all', | ||
// tab 的长度 | ||
tabWidth: 4, | ||
// 自动添加分号 | ||
semi: true, | ||
// 使用单引号 | ||
singleQuote: true, | ||
// 结尾换行 | ||
endOfLine: 'lf', | ||
// 重写部分文件的规则 | ||
overrides: [ | ||
{ | ||
files: '*.yml', | ||
options: { | ||
tabWidth: 2, | ||
}, | ||
}, | ||
], | ||
}; | ||
|
||
module.exports = config; |
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,11 @@ | ||
<!-- 茗居软装 --> | ||
|
||
<!-- 安装 --> | ||
|
||
1、npm install | ||
|
||
<!-- 打包 --> | ||
|
||
2、npm run dev:mp-weixin | ||
|
||
3、<!-- 运行 --将 dist\dev\mp-weixin 文件夹放入微信开发者工具中运行 --> |
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,20 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<script> | ||
var coverSupport = 'CSS' in window && typeof CSS.supports === 'function' && (CSS.supports('top: env(a)') || | ||
CSS.supports('top: constant(a)')) | ||
document.write( | ||
'<meta name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' + | ||
(coverSupport ? ', viewport-fit=cover' : '') + '" />') | ||
</script> | ||
<title></title> | ||
<!--preload-links--> | ||
<!--app-context--> | ||
</head> | ||
<body> | ||
<div id="app"><!--app-html--></div> | ||
<script type="module" src="/src/main.ts"></script> | ||
</body> | ||
</html> |
Oops, something went wrong.