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