feat: initial commit with Taro + React project

This commit is contained in:
Mikuisnotavailable
2026-03-30 14:33:33 +08:00
commit 96cfc609b2
21 changed files with 16036 additions and 0 deletions

21
babel.config.js Normal file
View File

@@ -0,0 +1,21 @@
// babel-preset-taro 更多选项和默认值:
// https://github.com/NervJS/taro/blob/next/packages/babel-preset-taro/README.md
module.exports = {
presets: [
['taro', {
framework: 'react',
ts: true,
compiler: 'vite',
}]
],
plugins: [
[
'import',
{
libraryName: 'taro-hooks',
camel2DashComponentName: false
},
'taro-hooks',
]
],
};