Skip to content

Commit

Permalink
remove: page transition (changed specification with updating Nuxt 3.0)
Browse files Browse the repository at this point in the history
  • Loading branch information
mirumirumi committed Nov 25, 2022
1 parent 124113c commit 858ba7e
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions nuxt.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,10 @@ export default defineNuxtConfig({
style: [],
script: [],
},
// pageTransition: {
// name: "page",
// mode: "out-in",
// },
},
components: {
dirs: [
Expand Down
2 changes: 1 addition & 1 deletion src/assets/styles/scss.scss
Original file line number Diff line number Diff line change
Expand Up @@ -313,7 +313,7 @@ main {
/**
* vue transition
*/
.page-enter-from { // `page` is reserved by nuxt3 for page transitions
.page-enter-from { // not used now (disabled by nuxt.config.ts)
opacity: 0;
transform: translateY(7px);
}
Expand Down

0 comments on commit 858ba7e

Please sign in to comment.