(Creation is not easy, thank you for your support. It is my biggest motivation to move forward. If reading this is helpful to you, please leave your footprints)
Table of contents
Create uni-app project from command line
Compile and run the uni-app project:
Develop uni-app project with VS Code
Create uni-app project
Create uni-app project from command line
(No need to rely on HBuilderX)vue3+ts version: npx degit dcloudio/uni-preset-vue#vite-ts project nameOfficial website link: https://uniapp.dcloud.net.cn/quickstart-cli.html#Create uni-app
Compile and run the uni-app project:
Finally, import the file into the WeChat developer tool
Problems you may encounter during the terminal download process:
The 'pnpm' item is not recognized as the name of a cmdlet, function, script file, or executable program. Please check the spelling of the name and, if a path is included, make sure the path is correct and try again.
Solution:
npm i-g pnpm
Develop uni-app project with VS Code
Why choose VS Code?⚫ HbuilderX’s support for TS type is not yet complete⚫ VS Code is a friendly and familiar editor that supports TS types.