随笔分类 -  前端歌谣--学习-vue2课程

摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2022-07-29 22:31 前端导师歌谣 阅读(42) 评论(0) 推荐(0)
摘要:#### 1.4 核心特性 - 双向数据绑定 - vue(借鉴了react的虚拟DOM,借鉴了angular双向数据绑定) - 通过 **指令** 扩展了 HTML,通过 **表达式** 绑定数据到 HTML - 解耦视图与数据 - 可复用**组件** - 虚拟DOM - M-V-VM - 数据驱动 阅读全文
posted @ 2022-07-29 22:30 前端导师歌谣 阅读(26) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2022-07-29 22:30 前端导师歌谣 阅读(27) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document< 阅读全文
posted @ 2022-07-29 22:30 前端导师歌谣 阅读(57) 评论(0) 推荐(0)
摘要:<template> <div id="app"> <HelloWorld :init="9" /> <!-- <Test></Test> --> <MyTest></MyTest> </div> </template> <script> import HelloWorld from './comp 阅读全文
posted @ 2022-07-09 22:11 前端导师歌谣 阅读(61) 评论(0) 推荐(0)
摘要:<template> <div class="hello"> <h3>{{ init }}</h3> <button @click="changeName">+1</button> </div> </template> <script> export default { name: "HelloWo 阅读全文
posted @ 2022-07-09 22:11 前端导师歌谣 阅读(120) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(74) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(21) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(28) 评论(0) 推荐(0)
摘要:limit限制图片的字节数 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(135) 评论(0) 推荐(0)
摘要:const path = require('path') // 1. 导入 html-webpack-plugin 这个插件,得到插件的构造函数 const HtmlPlugin = require('html-webpack-plugin') // 2. new 构造函数,创建插件的实例对象 co 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(91) 评论(0) 推荐(0)
摘要:base64防止一些不必要的网络请求 体积增大一点点 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(55) 评论(0) 推荐(0)
摘要:const path=require('path') // 1. 导入 html-webpack-plugin 这个插件,得到插件的构造函数 const HtmlPlugin = require('html-webpack-plugin') // 2. new 构造函数,创建插件的实例对象 cons 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(61) 评论(0) 推荐(0)
摘要:const path=require('path') // 1. 导入 html-webpack-plugin 这个插件,得到插件的构造函数 const HtmlPlugin = require('html-webpack-plugin') // 2. new 构造函数,创建插件的实例对象 cons 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(277) 评论(0) 推荐(0)
摘要:const path=require('path') // 1. 导入 html-webpack-plugin 这个插件,得到插件的构造函数 const HtmlPlugin = require('html-webpack-plugin') // 2. new 构造函数,创建插件的实例对象 cons 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(168) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(34) 评论(0) 推荐(0)
摘要:<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" content="wi 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(89) 评论(0) 推荐(0)
摘要:const path=require('path') module.exports={ mode:"development", //指定要处理的路径 entry:path.join(__dirname,"./src/index.js"), //输出的文件路径 output:{ //存放的目录 pat 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(53) 评论(0) 推荐(0)
摘要:在项目中安装webpack <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewpor 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(56) 评论(0) 推荐(0)
摘要:代码部分 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge"> <meta name="viewport" conten 阅读全文
posted @ 2022-07-05 18:42 前端导师歌谣 阅读(43) 评论(0) 推荐(0)