feat: update project configuration and structure

- Updated project.config.json with new project name and settings.
- Removed unused app.scss and index.scss files, replaced with CSS files.
- Refactored app.ts to utilize Taro's useLaunch hook for app initialization.
- Simplified index.tsx to display a basic greeting and user info button.
- Added new project.xhs.json for XHS platform configuration.
- Introduced is-xhs utility function to check for XHS environment.
- Updated tsconfig.json to include path mappings and additional include paths.
This commit is contained in:
2026-03-12 17:45:09 +08:00
parent c4b288ac17
commit 7b760d20f3
18 changed files with 4167 additions and 2576 deletions

View File

@@ -1,25 +1,15 @@
{
"miniprogramRoot": "dist/",
"projectname": "taro-template",
"description": "taro模板",
"appid": "touristappid",
"setting": {
"urlCheck": true,
"es6": false,
"miniprogramRoot": "./dist",
"projectname": "2026-03-12-taro-template",
"description": "taro-template",
"appid": "touristappid",
"setting": {
"urlCheck": true,
"es6": false,
"enhance": false,
"compileHotReLoad": false,
"postcss": false,
"preloadBackgroundData": false,
"minified": false,
"newFeature": true,
"autoAudits": false,
"coverView": true,
"showShadowRootInWxmlPanel": false,
"scopeDataCheck": false,
"useCompilerModule": false
},
"compileType": "miniprogram",
"simulatorType": "wechat",
"simulatorPluginLibVersion": {},
"condition": {}
"postcss": false,
"minified": false
},
"compileType": "miniprogram"
}