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