mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-12 03:38:07 +00:00
add layoutTransition to with-config test
This commit is contained in:
parent
ad09857234
commit
9dd3c7fea0
7
test/fixtures/with-config/assets/app.css
vendored
7
test/fixtures/with-config/assets/app.css
vendored
@ -1,3 +1,10 @@
|
|||||||
.global-css-selector {
|
.global-css-selector {
|
||||||
color: red;
|
color: red;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.test-enter-active, .test-leave-active {
|
||||||
|
transition: opacity .5s
|
||||||
|
}
|
||||||
|
.test-enter, .test-leave-active {
|
||||||
|
opacity: 0
|
||||||
|
}
|
||||||
|
1
test/fixtures/with-config/nuxt.config.js
vendored
1
test/fixtures/with-config/nuxt.config.js
vendored
@ -15,6 +15,7 @@ module.exports = {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
transition: 'test',
|
transition: 'test',
|
||||||
|
layoutTransition: 'test',
|
||||||
offline: true,
|
offline: true,
|
||||||
plugins: [
|
plugins: [
|
||||||
'~/plugins/test.js',
|
'~/plugins/test.js',
|
||||||
|
Loading…
Reference in New Issue
Block a user