原创 centos8安裝vue和vue-cli

安裝vue  ''' 安裝vue遇到警告 npm WARN saveError ENOENT: no such file or directory, open '/home/harold/package.json' npm WARN en

原创 yum報:nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58

問題: 模塊依賴問題 問題 1: conflicting requests - nothing provides module(perl:5.26) needed by module perl-DBD-SQLite:1.58:80

原创 centos8安裝nodejs

1、通過官方查詢需要安裝的版本https://github.com/nodesource/distributions   2、在CentOS下獲取相應版本的nodejs資源(以NodeJS 14.x爲例)  粘貼 curl -sL http

原创 nrm安裝與配置

1.nrm nrm(npm registry manager )是npm的鏡像源管理工具,有時候國外資源太慢,使用這個就可以快速地在 npm 源間切換 2.安裝nrm 在命令行執行命令,npm install -g nrm,全局安裝nr

原创 VSCode 使用 stylus,配置格式化設置

SCode 擴展商店中搜索 stylus Supremacy 進行安裝 之後在用戶設置 setting.json 配置文件中添加如下配置即可 // 以下爲stylus配置 "stylusSupremacy.insertColons":

原创 Vue正確加載img的src路徑

別問爲什麼了,知道這樣用就好了 imgUrl: require('@/assets/images/1.png')  

原创 table添加水平滾動條

<html> <head> <title>table新增水平滾動條</title> <style type="text/css"> .tableWrap { ov

原创 FastClick

移動設備上的瀏覽器默認會在用戶點擊屏幕大約延遲300毫秒後纔會觸發點擊事件,這是爲了檢查用戶是否在做雙擊。爲了能夠立即響應用戶的點擊事件,纔有了FastClick。 >npm install fastclick --save   mai

原创 Vue中的Js動畫與Velocity.js的結合

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Vue中的Js動畫與Velocity.js的結合</title>

原创 Vue中多個元素或組件的過渡

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Vue中多個元素或組件的過渡</title> <

原创 Vue中的列表過渡

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Vue中的列表過渡</title> <scrip

原创 Vue動畫的封裝

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Vue動畫的封裝</title> <script

原创 Vue——CSS過渡動畫原理

  <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>CSS過渡動畫效果</title> <sc

原创 Vue中使用animate.css庫

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Vue中使用animate.css庫</title>

原创 Vue——非父子組件間傳值(Bus/總線/發佈訂閱模式/觀察者模式)

<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>非父子組件間傳值(Bus/總線/發佈訂閱模式/觀察者模式)</ti