

NVM allows you to easily install and manage different versions of Node and switch between them on a per-shell basis. NVM is easy to understand and works on any POSIX-compliant shell (for example, sh or bash). Vue3.x Official Chinese document: v3.cn.vuejs.The Node Version Manager (NVM) is an open source version manager for Node.js (Node).Vue3 source repository vue-next : /vuejs/vue-n.Vue3- Custom instructions (not compatible).

Vue3-defAsyncComponent Asynchronous component (new),.Vue3-Suspense for asynchronous requests,.Vue3-teleport changes the root node to which the component is mounted,.Vue3 source code learning tool utils(2).Variables of type undefined can be assigned to variables of type number: let num: number = undefined Copy the code Vue3 learning actual combat series more text: let age: number = 10 let binaryNumber: number = 0b1111 /// After the string, note that es6's new template string is also fine let firstName: string = 'xn213' let message: string = `Hello, $` /// null and undefined are used for debugging errors let un: undefined = undefined let nu: null = null /// Note that null and undefined are subtypes of all types. If you write Boolean in a Typescript file, it means a JavaScript Boolean object, as in the first line: let isDone: boolean = false Es6 also supports base 2 and base 8. Note that each type begins with a lowercase letter.

Using the TSC global command: // Check the TSC version tsc-v Copy the code Mkdir ts_study CD ts_study /// create a SRC directory: mkdir SRC touch SRC /index.ts TSC -init: tsconfig.json: TSC Folder/filename.ts Copy the code TypeScript VS JavaScript JavaScript type classification: Install Typescript on the command line: npm install -g typescript You can also use NVM to manage node versions: /nvm-sh/nvm The Typescript website address: Typescript documentation address: Basic Types The process of learning TypeScript is documented here in TypeScript Enter the world of TypeScript type constraints 1. In the process of learning vue 3.x, it is inevitable to use TypeScript (TS is optional, of course). Check out the event details: The last Gwen Challenge 2021 preface This is the 13th day of my participation in the November Gwen Challenge.
