Uni-app + Vue3 + TS 基础项目
This article provides an overview and guide for setting up a uni-app-vue3-template project. The author explains the background of their personal use case and the technologies used in the project. They also provide step-by-step instructions for installing and configuring various dependencies such as eslint, prettier, typescript, sass, and axios. The article concludes with some development practices and caveats to be aware of when using Vue3 Composition API in Uni-app.
npm install -g @vue/cli and vue create -p dcloudio/uni-preset-vue my-project.npm install eslint prettier --save-dev..eslintrc.js and add necessary configurations..prettierrc.js and add necessary configurations.tsconfig.json file and allowing default “any” type.npm install sass sass-loader --save-dev.src/style/var.scss file.vite.config.js file.The article explains the process of setting up a uni-app-vue3-template project and provides guidance on the installation and configuration of various dependencies. It covers topics such as eslint, prettier, typescript, sass, axios, and Vue3 composition API in Uni-app. The author also shares some development practices and caveats to be aware of. Overall, the article serves as a helpful resource for developers looking to set up and work with uni-app-vue3-template projects.