07 2022 档案

vue-router配置
摘要:1.实例化router , export default router 2.App.vue 中将router实例挂载进来 3.在App.vue中用路径名router-link>链接 再用router-view占位 4.在路由配置文件中配置routes:{path:"",component:},先导入 阅读全文
posted @ 2022-07-06 00:30 废青小1 阅读(1327) 评论(0) 推荐(0)
webpack配置以及简单使用
摘要:npm init -y npm i jquery -s npm install webpack@5.42.1 webpack-cli@4.7.2 -D index.js下 //1.使用 ES6导入jQuery import $ from 'jquery' $(function () { //3.实现 阅读全文
posted @ 2022-07-05 10:49 废青小1 阅读(48) 评论(0) 推荐(0)