前端三件套Html,Css,Javascript
HTML标题123456<h1>标题</h1><h2>标题</h2><h3>标题</h3><h4>标题</h4><h5>标题</h5><h6>标题</h6>
段落1<p>This is a paragraph.</p>
文本格式化标签div 标签:块级元素 盒子标签 ;文档中的一个部分会显示为绿色
1234<div style="color:#00FF00"> <h3>This is a header</h3> <p>This is a paragraph.</p></div>
1234567891011<b>加粗</b><strong>加粗</strong><u>下划线</u><ins>下划线</ins><i>倾斜&l ...
vue
脚手架 Vue CLI使用步骤:
全局安装 (一次) :yarn global add @vue/cli 或 npm i @vue/cli -g
查看 VueCLI 版本:vue —version
创建项目架子:vue create project-name(项目名-不能用中文)
启动项目: yarn serve 或 npm run serve(找package.json)
vue实例中的属性计算属性computed在 Vue.js 中,computed 是一个用于定义计算属性的选项。计算属性是基于响应式依赖进行缓存的属性,它的值会根据依赖的数据动态计算,并且只有在依赖发生变化时才会重新计算。
使用 computed 可以将计算属性定义为一个函数,该函数会根据依赖的数据进行计算,并返回计算结果。计算属性的值可以像普通属性一样在模板中使用。
以下是一个示例,演示了如何使用 computed:
1234567891011new Vue({ data: { firstName: 'John', lastName: 'Do ...
Hexo + Github pages个人博客搭建
hexo+Github Pages搭建hexo基本命令123456789101112131415161718npm install -g hexo-cli //安装Hexo脚手架hexo init 初始化hexo new 文件名 创建文本文件名hexo g 静态文件生成hexo s启动服务器hexo d 部署网站_config.yml文件相关配置url: https://lldscc.github.io/deploy: type: 'git' repo: git@github.com:lldscc/lldscc.github.io.git branch: main
搭建步骤初始化文件夹
1hexo init
配置_config.yml文件
1234567url:https://lldscc.github.io/----------------------------------------------------------deploy: type: 'git' repo: git@github. ...
Glidejs
glidejs
https://glidejs.com/
无依赖性的JavaScript ES6滑块和旋转木马。它重量轻,灵活,速度快。设计用于滑动。
1
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081## 安装配置```html<!DOCTYPE html><html lang="en"><head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>轮播图</title> <link ...
Bootstraps
引入
在线引入
123<!-- Bootstrap 的 CSS 文件 --><link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.2/dist/css/bootstrap.min.css" integrity="sha384-xOolHFLEh07PJGoPkLv1IbcEPTNtaed2xpHsD9ESMhqIYd0nLMwNLD69Npy4HI+N" crossorigin="anonymous">
12345678<!-- 引入script --><!-- jQuery && bootstrap.min.js && popper.min.js 先是 jQuery,然后是 Popper,最后是 JavaScript 插件 --><script src="https://cdn.jsdelivr.net/ ...
Git
Gitgit常用命令123456789101112131415161718192021git init //在当前目录中初始化一个新的Git仓库。git add <file> //将文件添加到暂存区,准备提交。常用git add .git commit -m "commit message" //将暂存区的更改提交到本地仓库,并添加提交消息。git push //将本地的更改推送到远程仓库。git remote add <remote-name> <repository-url> //添加一个新的远程仓库。git clone <repository-url> //克隆一个远程仓库到本地。git remote remove <remote-name> //移除指定的远程仓库。git remote -v / ...