不要着急,不要着急,

休息,休息一会。

10 2019 档案

摘要:const path = require('path'); module.exports = { entry: './src/index.js', output: { filename: 'bundle.js', path: path.resolve(__dirname, 'dist') }, module: { rules:[ // css加载 //包下载命令:npm install --sav 阅读全文
posted @ 2019-10-31 22:31 angle-xiu 阅读(320) 评论(0) 推荐(0)
摘要:方式一 结合v-if及v-else 只能实现两个组件的切换 方式二 使用vue提供的元素component 可实现多个组件的切换 示例如下 <!DOCTYPE html> <html> <head> <title>组件的切换</title> <meta charset="utf-8"> </head 阅读全文
posted @ 2019-10-27 19:39 angle-xiu 阅读(15533) 评论(5) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <title>简易评论列表</title> <meta charset="utf-8"> <link rel="stylesheet" href="node_modules\bootstrap\dist\css\bootstrap.css" 阅读全文
posted @ 2019-10-25 11:02 angle-xiu 阅读(3765) 评论(2) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <div id="app"> <com1 v-bind:parenting="parentDate"></com1> <!-- 这里想用调用父组件中的数据,必须为父 阅读全文
posted @ 2019-10-24 21:25 angle-xiu 阅读(7551) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <div id="app"> <mycom></mycom> <counter></counter> </div> <template id="temp"> <di 阅读全文
posted @ 2019-10-23 20:15 angle-xiu 阅读(5055) 评论(0) 推荐(0)
摘要:<html> <head> <title>vue创建组件</title> <meta charset="utf-8"> </head> <body> <div id="app"> <my-com1></my-com1> <my-com2></my-com2> <my-com3></my-com3> 阅读全文
posted @ 2019-10-23 15:43 angle-xiu 阅读(1349) 评论(0) 推荐(0)

Live2D