![](https://img-blog.csdnimg.cn/20201014180756923.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
文章平均质量分 52
Mint520
好好学习天天向上
展开
-
webpack
这时,下载的jquery没办法兼容, 浏览器不怎么支持import,需要配置webpack2.在项目中安装和配置webpack①运行npm install webpack webpack-cli -D 命令,安装webpack 相关的包②在项目根目录中,创建名为webpack.config.js的 webpack 配置文件③在webpack的配置文件中,初始化如下基本配置:module.exports={ mode:'development' //develop...原创 2020-11-06 10:30:06 · 45 阅读 · 0 评论 -
webpack(下)+vue单文件组件
原理是 把 src的首页index.html 复制到 dist中,默认打开 index.html//在webpack.config.js 文件const HtmlWebpackPlugin = require("html-webpack-plugin");const htmlPlguin = new HtmlWebpackPlugin({ template:'./src/index.html', filename:'index.html' })module.ex..原创 2020-11-07 18:12:36 · 777 阅读 · 0 评论 -
Vue 脚手架
图形化界面安装 步骤要点远行 npm run serve5.Element-UI的基本使用Element-UI:一套为开发者、设计师和产品经理准备的基于Vue2.0的桌面端组件库。官网地址为:http://element-cn.eleme.io/#/zh-CN1. 基于命令行方式手动安装① 安装依赖包 npm i element-ui –S② 导入 Element-UI 相关资源...原创 2020-11-08 21:59:32 · 35 阅读 · 0 评论 -
VUE:渐进式JavaScript框架
<body><div id="app"><di>{{msg}}</div></div><script type="text/javascript"src="js/vue.js"></script><script type="text/javascript">/*Vue的基本使用步骤1、需要提供标签用于填充数据2、引入vue.js库文件3、可以使用vue的语法做功能了4、把vue提供的数据填..原创 2020-12-23 09:30:45 · 152 阅读 · 0 评论