Nuxt/test/fixtures/full-static-with-preview/plugins/preview.client.js

6 lines
102 B
JavaScript
Raw Normal View History

export default function ({ query, enablePreview }) {
if (query.preview) {
enablePreview()
}
}