mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-25 07:05:11 +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
|
|
}
|