Nuxt/test/fixtures/with-config/plugins/test.js

8 lines
111 B
JavaScript
Raw Normal View History

2016-12-21 18:27:36 +00:00
// Custom plugin
2017-11-24 15:44:07 +00:00
if (process.client) {
window.__test_plugin = true
} else {
global.__test_plugin = true
}