网友回复
pinia.js的cdn地址//repo.bfw.wiki/bfwrepo/js/pinia.js
需要结合vue3及vuedemi一起使用。
示例代码:
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> </head> <body> <div id="app"> <p> Counter: {{ store.counter }} Double: {{ store.double }} </p> <button @click="store.increment">Increment</button> </div> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/js/vue3.2.22.js"></script> <script type="text/javascript" src="//repo.bfw.wiki/bfwrepo/j...
点击查看剩余70%