在Nuxt中,sweetalert的使用与Vue略有不同。 首先在项目中安装插件:npm install sweetalert2 --save. 安装完成后在我们需要使用的页面引入: ...
確定! 回上一頁