In the previous article, we created the project and ran it successfully.

Here I am adding dependencies for my project, and I am using YARN.

1: Install vue-router

yarn add vue-router@next
Copy the code

2: Install the VUex

yarn add vuex@@next
Copy the code

3: Install component library Ant Design Vue

yarn add ant-design-vue@next
Copy the code

4: Install typescript

yarn add -D typescript
Copy the code

Use the TypeScript

Rename main.js to main.ts

/ SRC /main.js instead of/SRC /main.ts in index.html

.<body>
  <div id="app"></div>
  <script type="module" src="/src/main.ts"></script>
</body>
</html>
Copy the code

5: Install axiOS

yarn add -D axios
Copy the code

6: Install qs

yarn add -D qs
Copy the code

7: Install sASS

yarn add -D sass
Copy the code

These relatively basic plug-in support are currently installed and will be updated over time.

Last update plug-in command:

yarn global upgrade
Copy the code

For good suggestions, please enter your commands below.

Welcome to my blog guanchao.site

Welcome to applets: