mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-30 17:37:14 +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
|
|
}
|