摘要: ```js // 1、一个模块可以有多个下方这种非默认导出 // 2、外部模块要想单独使用 a,b 其中之一时,就必须要用解构符{}的方式去导入 // 3、外部导入方式1:import {a as AAA,b as BBB} from "./utils"; 此处的 AAA与BBB 都是在外部模块导入 阅读全文
posted @ 2023-06-10 14:40 黄河大道东 阅读(16) 评论(0) 推荐(0) 编辑
摘要: [toc] # pinia状态管理使用示例 【main.js】 ```js import './assets/main.css' import {createApp} from 'vue' import {createPinia} from 'pinia' import App from './Ap 阅读全文
posted @ 2023-06-10 00:25 黄河大道东 阅读(20) 评论(0) 推荐(0) 编辑