摘要:
主函数方法入口 代码 多了一个router.js 文件代码 登录文件 js代码 项目与基础知识点的连接1 阅读全文
posted @ 2021-06-28 17:29
优敏行
阅读(34)
评论(0)
推荐(0)
摘要:
数据绑定主要用到表单提交这块用到的。 用户输入内容,同步改变。 附录代码 <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta http-equiv="X-UA-Compatible" content="IE=edg 阅读全文
posted @ 2021-06-28 17:02
优敏行
阅读(146)
评论(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= 阅读全文
posted @ 2021-06-28 16:07
优敏行
阅读(582)
评论(0)
推荐(0)
摘要:
<template> <div> <!-- <template> <el-alert type="success" title="提示"> <el-button type="warn">{{ $route.params.id }}</el-button> {{ $route.params.name 阅读全文
posted @ 2021-06-28 15:24
优敏行
阅读(225)
评论(0)
推荐(0)
摘要:
找到目标磁盘,路径。创建文件夹 把创建的文件夹,拖动到vscode里面。然后选择在集成终端中打开. 执行命令后,按2次回车键. 到这个页面 这样子一个新项目文件夹就创建起来了。 文件目录 这是用vue cli (俗称脚手架),在创建项目 创建完成 阅读全文
posted @ 2021-06-28 14:48
优敏行
阅读(1918)
评论(0)
推荐(0)
摘要:
Vue.js 的核心是一个允许采用简洁的模板语法来声明式地将数据渲染进 DOM 的系统: <div id="app"> {{ message }} </div> var app = new Vue({ el: '#app', data: { message: 'Hello Vue!' } }) He 阅读全文
posted @ 2021-06-28 10:27
优敏行
阅读(128)
评论(0)
推荐(0)