dansmaculotte / dansmaculotte/nuxt-segment
Segment undefined in the context of a middleware
Open
bug
- Dominant language
- JavaScript
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I am trying to use segment from the context, in a middleware loaded from a layout and it does not work.
Segment undefined in the context in a middleware
```js
export default function({ app, $segment }) {
console.log($segment)
console.log(app.$segment)
}
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.