当前位置:网站首页>How to use Pinia (I) introduce Pinia into the project

How to use Pinia (I) introduce Pinia into the project

2022-06-26 23:40:00 Program dancer

One . Build the project

I'm using Ts+npm+vue3+vite structure ;

1. Build the project Execute command selection vue project

npm init [email protected]

2. add to pinia

npm install pinia

3. introduce pinia To project

 

原网站

版权声明
本文为[Program dancer]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/02/202202161719505837.html