9/3/2023 0 Comments Using deco ide tutorial![]() ![]() On Windows we recommend using the built-in cmd or PowerShell. What tool is used by the terminal emulator on *nix systems (Terminal/iTerm2/Konsole/Hyper/etc.) It doesn't matter, but for running the Taro CLI shell we recommend bash or zsh. Whether you use VSCode or WebStrom, you can use Taro for auto-completion and live code inspection (linting) after installing the above plugin. ![]() If you are willing to spend money and are lazy you can choose WebStorm (or any other Jetbrains IDE that supports web development), which requires basically no configuration. If you use Vue, it is recommended to install the Vetur plugin. When you use VSCode, it is recommended to install the ESLint plugin, and if you use TypeScript, don't forget to configure eslint.probe parameter if you use TypeScript. We recommend using VSCode or WebStorm (or other Jetbrains IDEs that support web development). Once installed, enter the command taro in the terminal and if something like this appears, the installation was successful. When your machine already has a Node.js environment, you can install the Taro CLI by entering the command npm i -g in the terminal. We recommend installing the LTS version of Node.js (currently LTS version is v12). There are various ways to install the Node.js environment, if you don't know Node.js at all you can visit the Node.js official website to download an executable to install it. The Taro CLI relies on the Node.js environment, so it must be installed on your machine. Our code implementation also uses some ES6 syntax, which you can see or learn about at ES6 Getting Started Tutorial Environment Preparation Ĭurrently Taro offers only one development method: installing the Taro command line tool (Taro CLI) for development. If you are not familiar with either framework, you can cross reference the code implementation via React documentation or Vue documentation. We will implement our application using the React and Vue frameworks respectively, switching between implementations by clicking on the React or Vue buttons in the code examples. In this tutorial we assume that you already have some knowledge of web front-end development and JavaScript. (If you're browsing on a large screen) The title directory to the right of this tutorial contains subdirectories for all the chapters, so you can view or navigate to the chapter you're interested in.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |