• 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search
挨踢攻城獅學習之路
不太詳細紀錄
Skip to content
  • 作業系統
    • Windows
    • Linux
  • 資料庫
    • SQL Server
    • MySQL/MariaDB
  • 腳本
    • PowerShell
    • Shell Script
  • 開源服務
  • 虛擬化
  • 容器
  • 雲服務
  • 網路
  • 其他
  • WordPress
  • Javascript
  • PHP
  • Search
分類: 全端

分類: 全端

Home Archive for category "全端" (Page 2)

Vue.js:router出現 message: “Navigating to current location (XXX) is not allowed”

印象是在設定使用者未登入,就導回首頁跳出以下錯誤 解決辦法為在router.js裡加入 就不會再跳錯 來源:解决vue项目路由出现message: “Navigating to current location (XXX) is not allowed”的问题

 troubleshooting / vue.js
Read more "Vue.js:router出現 message: “Navigating to current location (XXX) is not allowed”"

Vue.js:import axios報錯Cannot read property ‘protocol’ of undefined

最近Console一直出現 Cannot read property ‘protocol’ of undefined 因為功能都正常,實在看不出什麼問題
同事就幫忙Google一下,原來是不能這樣引用

 troubleshooting / vue.js
Read more "Vue.js:import axios報錯Cannot read property ‘protocol’ of undefined"

Vue.js:npm run dev 跳錯 Module build failed: TypeError: Cannot read property ‘length’ of null

初學vue在建完專案就出錯了 碰到 Google到對岸資源,看起來跟ESLint有關,暫時用這個方法解決。 引用自:babel eslint TypeError: Cannot read property ‘range’ of null, 淘宝 NPM 镜像不是每次都會碰到, …

 troubleshooting / vue.js
Read more "Vue.js:npm run dev 跳錯 Module build failed: TypeError: Cannot read property ‘length’ of null"

CSS:Label、Input自動縮放寬度佔滿容器

在製作表單時,想將Label放置於左邊,Input放在右邊,並讓Input隨視窗大小,自動縮放佔滿容器,像這樣 調大調小都可以吃滿,以下範例 可以在CSS加入float 讓Label float於左側,寬80px。Input 的寬用calc( 100% 去減掉 label的寬80px)

 css
Read more "CSS:Label、Input自動縮放寬度佔滿容器"

IDE:Emmet for Visual Studio

Visual Studio IDE內寫HTML實在辛苦,習慣用div#col-lg-6*2 這類寫法在VS IDE上都得照實產出<div></div> 再去設定id、class 完成後再複製或重打,很浪費時間 今天總算受不了爬文了一下!如果你有跟我一樣困擾 ,可試試我爬到的結 …

 Visual Studio
Read more "IDE:Emmet for Visual Studio"

CSS:讓footer能在頁面底部

同組人員製作網頁時碰到,當Search出來的結果太少,會導致body的高不足至整個頁面,而讓footer出現在畫面中間(尷尬)我原本想著body設置min-height:100vh,footer設 absolute 及bottom 0結果變成這樣 最後Google到這篇:Sticky Footer …

 css
Read more "CSS:讓footer能在頁面底部"

PHP:寄信跳錯SMTP connect()

架了不少開源相關服務都會用到PHP寄信功能,但經常會碰到如下錯誤Error in email sending: SMTP connect() failed.https://github.com/PHPMailer/PHPMailer/wiki/Troubleshooting x 如果是用Gmail請 …

 troubleshooting
Read more "PHP:寄信跳錯SMTP connect()"

WordPress:Elementor在IE 11、Edge踩坑2-背景圖設為固定,滑動時圖片抖動

Elementor將背景圖片設為固定,但IE、EDGE上下滑動時,圖會抖看的很不舒服這段程式碼是由這裡找的:为什么在IE上滚动时固定的背景图像会移动?雖然沒有很懂,但套用下面這段程式碼解決。

 troubleshooting / wordpress
Read more "WordPress:Elementor在IE 11、Edge踩坑2-背景圖設為固定,滑動時圖片抖動"

WordPress:Elementor在IE 11、Edge踩坑1:段高度無法套用到欄背景圖

Elementor,在使用Inner Section將段切為2欄時,設定段的高度假設為400px,並在2欄各設定背景圖。Chrome背景圖可正常顯示沒問題,但IE不起作用,要再自訂CSS才能正常顯示背景圖 修改前 加入CSS 修改後

 troubleshooting / wordpress
Read more "WordPress:Elementor在IE 11、Edge踩坑1:段高度無法套用到欄背景圖"

XAMPP(mac): Apache Index of / 索引亂碼

如圖畫面,預設會亂碼,但在XAMPP(win)沒碰到 修改/Applications/XAMPP/xamppfiles/etc/httpd.conf,在網頁目錄下加入IndexOptions Charset=UTF-8存檔後restart Apache Web Server即可

 apache / troubleshooting
Read more "XAMPP(mac): Apache Index of / 索引亂碼"

文章導覽

1 2 3

近期文章

  • ShellScript:發送 IP 到 FortiGate、Cloudflare 進行封鎖
  • Google Apps Script: Form 無法發 Telegram、Line Bot Notify
  • Google Sheet: 操作問題筆記
  • Google Apps Script: Web App 手機 RWD 問題
  • Gitlab: 跨版本升級順序

分類

  • WordPress (29)
  • 作業系統 (45)
    • Linux (31)
    • Windows (15)
  • 全端 (29)
    • CSS (3)
    • Dev Env (4)
    • Go (1)
    • Javascript (15)
    • PHP (6)
  • 其他 (11)
  • 容器 (10)
    • Docker (7)
    • Kubernetes (2)
  • 網路 (7)
  • 腳本 (14)
    • Batch (3)
    • PowerShell (4)
    • Shell Script (8)
  • 虛擬化 (8)
  • 資料庫 (9)
    • MySQL/MariaDB (1)
    • SQL Server (8)
  • 開源服務 (19)
  • 雲服務 (6)

標籤

analysis apache backup batch btrfs centos cisco cmder command css docker duplicati esxi firewall fortigate git Go google sheet hyper-v javascript kubernetes librenms linux mariadb network nextcloud nginx php plugins powershell redmine samba security selinux shellscript sql ssh troubleshooting vembu Visual Studio vps vue.js wordpress wsl zfs
Back to Top
©2019-2023 挨踢攻城獅學習紀錄
Powered by Anima & WordPress.