penambahan web socket
This commit is contained in:
No files matched your search
Generated
Vendored
+13
@@ -0,0 +1,13 @@
|
||||
import { defineNuxtPlugin } from "../nuxt.js";
|
||||
export default defineNuxtPlugin({
|
||||
name: "nuxt:webpack-preload",
|
||||
setup(nuxtApp) {
|
||||
nuxtApp.vueApp.mixin({
|
||||
beforeCreate() {
|
||||
const { modules } = this.$nuxt.ssrContext;
|
||||
const { __moduleIdentifier } = this.$options;
|
||||
modules.add(__moduleIdentifier);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user