mirror of
https://github.com/nuxt/nuxt.git
synced 2024-12-18 10:17:16 +00:00
ef7a42649d
nuxt-start and nuxt/legacy are also coming!
8 lines
111 B
JavaScript
8 lines
111 B
JavaScript
// Custom plugin
|
|
|
|
if (process.client) {
|
|
window.__test_plugin = true
|
|
} else {
|
|
global.__test_plugin = true
|
|
}
|