Sunpm

Results 14 issues of Sunpm

目前导入类型需要加上路径: 可否实现下面的导入方式:

### Describe the bug ```ts const loading = ref(false) function getData() { const { data, isLoading, isFinished, execute, abort, isAborted } = useAxios( 'https://jsonplaceholder.typicode.com/todos/1', ) loading.value = isLoading.value // true...

报错信息: ```txt Error: Cannot find module 'vuex/package.json' Require stack: - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/resolve.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/hbx/env.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/hbx/index.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/utils.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/mp/ast.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/mp/index.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected][email protected]_rzxhs7gpnzk4ytytzonhc33jty/node_modules/@dcloudio/uni-cli-shared/dist/index.js - 当前项目路径/node_modules/.pnpm/@[email protected]_@[email protected][email protected]_typescript@4._crphgclmu3iqau2a7xw2aejlaa/node_modules/@dcloudio/vite-plugin-uni/dist/index.js - 当前项目路径/vite.config.ts - 当前项目路径/node_modules/.pnpm/[email protected]_@[email protected][email protected][email protected]/node_modules/vite/dist/node/chunks/dep-whKeNLxG.js at...

vue3
不明确复现步骤、未提供复现工程
不明确 vue版本或者运行平台

close #6272 sorry, first time submitting a pr, where do I add a demo or playground?

### 描述错误 ### 复现步骤 运行复现仓库可看到 ### 最小复现链接 https://github.com/sunpm/naiveui-issue ### 系统信息 ```Shell System: OS: macOS 12.6.5 CPU: (4) x64 Intel(R) Core(TM) i5-6500 CPU @ 3.20GHz Memory: 1.16 GB / 32.00 GB...

untriaged

An error occurred while using node16 install. ```bash error [email protected]: The engine "node" is incompatible with this module. Expected version "^18.17.0 || ^20.3.0 || >=21.0.0". Got "16.20.2" ```

仓库中 tsconfig.json 有引入类型,但是模版上无法正常显示,还是我的用法是错误的呢? tsconfig.json 路径: https://github.com/sunpm/unisave/blob/main/tsconfig.json#L24 ## 下面为 webstorm 页面截图 截图的目录为:https://github.com/sunpm/unisave/blob/main/src/pages/uview-plus/index.vue 导入类型也需要准确到目录文件