Open in app

Sign In

Write

Sign In

KY
KY

10 Followers

Home

About

Apr 25

VUE URL帶參數

感謝作者 vue 页面跳转之参数传递与接收参数 vue中页面跳转方式分别由标签跳转与编程式路由跳转。 编程式路由跳转: this.$router.push() 标签跳转 有两种写法,默认path参数与显式使用path参数。 编程式路由跳转 带参数跳转有 query与 params…juejin.cn 二、不带参数跳转 标签跳转 有两种写法,默认path参数与显式使用path参数。 <router-link to='/linkTo'> <button>跳转</button> </router-link> <router-link :to="{path: '/linkTo'}"> <button>跳转</button> </router-link> 三、带参数跳转 //query方式 <router-link :to="{path: '/linkTo', query: {name:'ming', age: 18 }}"> <button>跳转</button> </router-link> //params方式 <router-link :to="{name: 'linkTo', params: {name:'ming', age: 18 }}"> <button>跳转</button> </router-link> 作者:Juejin.cn !! 链接:https://juejin.cn/post/6922300605721477127 来源:稀土掘金 著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

2 min read

2 min read


Mar 17

[npm]dependencies 與devDependencies 的區別

有兩種指令,可以寫進 package.json — save-dev 寫入到devDependencies — save 寫入 dependencies 實際上的差別 dev-Dependencies only開發依靠而已 裡面的插件 「只」用於開發環境(web pack…) dependencies 是需要發佈到生產環境,沒有這包依賴運行就會報錯,

Dependencies

1 min read

Dependencies

1 min read


Mar 2

NPM 打包開源元件

NPM install 自己的模組 可以 import 自己做的模組 前言 Node.js 上開發專案好處就是可以透過 NPM 找到大量好用的套件。 但有時候你可能會發現有一些套件不符合你的需求,或是在程式運作上有錯誤。或許可以到討論版下方留言,苦苦等待作者回應,不過也可以在條件許可授權下,自行取得別人的程式碼,並以 _私領域套件(scoped package)_的形式發佈到 npm 註冊處。 接續第二篇

Npm Package

1 min read

Npm Package

1 min read


Mar 2

NPM-公領域-公開存取套件

重要單字註釋 1. scoped 範圍 2. unUnscoped不侷限範圍 不拘限範圍的公開 pacjage Unscoped public package 創建並公布一項不侷限範圍的公開 package Create and publishing Unscoped public package 這種是最長的普通套件,任何人都可以取用。 公領域套件名稱通常只有英文、數字與橫線所組成,例如「text-npm-module」。 As an npm user, you can create unscoped packages to use in your own projects and publish them to the npm public registry for others to use in theirs. …

Npm Package

2 min read

Npm Package

2 min read


Feb 22

React Route

製作 Nav

1 min read

React Route
React Route

1 min read


Jan 7

React Hook — useMemo

Youtube link I just have some really basic boilerplate code set up for us to test our application Two pieces of state one is a number which we can control by this over here on the right and the second one is a boolean for dark or light which is…

8 min read

React Hook — useMemo
React Hook — useMemo

8 min read


Dec 26, 2022

React / usePagination / Table

How to implement the usePagination Hook Below are the few things we need to keep in mind while implementing the usePagination hook: Our pagination hook must return the range of numbers to be display in our pagination component as an array. The computation logic needs to re-run when either currentPage, pageSize, siblingCount, or totalCount change. The…

React

2 min read

React / Pagination / Table
React / Pagination / Table
React

2 min read


Dec 23, 2022

React JS+Material UI中的服務器端分頁

分頁可以分為,後端形式、前端形式。 服務器端分頁:涉及向服務器發出請求以獲取與請求的查詢參數(例如頁面大小 和 頁面索引) 匹配的數據子集。 與客戶端分頁不同,我們一次獲取所有數據定在前端處理分頁。 本文介紹了應該使用「服務器端分頁」的「原因」以及如何在 「React JS 和 Material UI」中實現它。目錄 先決條件 用例 服務器端分頁的好 …

Pagination

11 min read

React JS+Material UI中的服務器端分頁
React JS+Material UI中的服務器端分頁
Pagination

11 min read


Dec 16, 2022

MUSIC for coding

適合寫程式聽的音樂 重溫最愛,聽了很多次。

Music

1 min read

MUSIC for coding
MUSIC for coding
Music

1 min read


Dec 16, 2022

VScode 工具紀錄_Tailwind Shades

由主色,延伸出深淺多種顏色 顏色常見狀況,由一個主色 延伸出 稍微深/或/稍微淺,的多種顏色 cmd + K cmd + G

React

1 min read

VScode 好用插件_
VScode 好用插件_
React

1 min read

KY

KY

10 Followers

前端 / UiUx / 自學

Following
  • Liang-Bin Hsueh aka hlb

    Liang-Bin Hsueh aka hlb

  • Huli

    Huli

  • Cheng-Wei Hu | 胡程維

    Cheng-Wei Hu | 胡程維

  • Molly M

    Molly M

  • 圓圓小熊(Maruマル)

    圓圓小熊(Maruマル)

See all (24)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams