Merge branch 'base' into tabbar
This commit is contained in:
commit
e20b84c8d5
10
.gitignore
vendored
10
.gitignore
vendored
@ -23,16 +23,6 @@ dist
|
||||
|
||||
.stylelintcache
|
||||
|
||||
# unplugin-auto-import 生成的类型文件,因为变化较小,还是加入版本管理吧
|
||||
# auto-import.d.ts
|
||||
|
||||
# vite-plugin-uni-pages 生成的类型文件,每次切换分支都一堆不同的,所以直接 .gitignore
|
||||
# uni-pages.d.ts
|
||||
|
||||
# 插件生成的文件
|
||||
# src/pages.json
|
||||
# src/manifest.json
|
||||
|
||||
# lock 文件还是不要了,我主要的版本写死就好了
|
||||
pnpm-lock.yaml
|
||||
package-lock.json
|
||||
|
@ -61,7 +61,7 @@
|
||||
"build:quickapp-webview": "uni build -p quickapp-webview",
|
||||
"build:quickapp-webview-huawei": "uni build -p quickapp-webview-huawei",
|
||||
"build:quickapp-webview-union": "uni build -p quickapp-webview-union",
|
||||
"prepare": "node ./shell/postinstall.js & git init && husky install ",
|
||||
"prepare": "git init && husky install ",
|
||||
"type-check": "vue-tsc --noEmit"
|
||||
},
|
||||
"lint-staged": {
|
||||
|
@ -1,21 +0,0 @@
|
||||
/**
|
||||
* 本文件会在依赖包安装时执行,用以生成 `src/manifest.json`
|
||||
* 如果不存在 `src/manifest.json` 会运行报错,提示找不到 `src/manifest.json`
|
||||
* 如果中途自己删除了 'src/manifest.json' 文件,记得手动执行本文件,可以右键 `Run Code` 快速执行
|
||||
*
|
||||
* 本文件是为了兼容 window 系统才生成的
|
||||
*/
|
||||
|
||||
// eslint-disable-next-line @typescript-eslint/no-var-requires
|
||||
const fs = require('fs')
|
||||
|
||||
const filePath = './src/manifest.json'
|
||||
|
||||
if (fs.existsSync(filePath)) {
|
||||
// console.log(`${filePath}存在`)
|
||||
} else {
|
||||
// console.log(`${filePath}不存在,需要创建`)
|
||||
fs.writeFile(filePath, '{}\n', {}, () => {
|
||||
// console.log(`${filePath}已经成功创建,并写入{}`)
|
||||
})
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
@import './iconfont.css';
|
||||
// @import './iconfont.css';
|
||||
|
||||
.test {
|
||||
// 可以通过 @apply 多个样式封装整体样式
|
||||
|
Loading…
x
Reference in New Issue
Block a user