xavxyz/nextjs-page-transitions
关于
Sarah Drasner 的 Nuxt 旅行应用克隆版;当年用很短时间手动复现了原生风格的页面转场(Next.js 6)。
网站与应用开发实测星标增长
- 24小时
- 0
- 7天
- 0
- 15天
- -1
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
README.md
原文Page Transitions Travelapp
Fork
👋, hello there! This repository is a rewrite with React & Next.js of Sarah Drasner's orginal work with Vue & Nuxt.
Live demo: https://page-transitions.now.sh
Original
This demo shows an example of how to achieve native-like page transitions on the web. There's much to be improved here- it's not meant to be a full-fledged web application, just a quick demo to show how this kind of implementation could theoretically work. These concepts can and should be expressed differently in your own application, the sky's the limit here! This is created with Nuxt and Vue.
Article explaining the demo is available at https://css-tricks.com/native-like-animations-for-page-transitions-on-the-web
Live demo at https://page-transitions.com/
See the page transitions travel app demo for a real-life use case: https://github.com/sdras/page-transitions-travelapp
Build Setup
# install dependencies
$ npm install # Or yarn install
# serve with hot reload at localhost:3000
$ npm run dev
# build for production and launch server
$ npm run build
$ npm start
For detailed explanation on how things work, checkout the Next.js docs.
探索相关项目
加载中…