Website Structure
This commit is contained in:
parent
62812f2090
commit
71f0676a62
22365 changed files with 4265753 additions and 791 deletions
13
Frontend-Learner/node_modules/nuxt/dist/app/plugins/preload.server.js
generated
vendored
Normal file
13
Frontend-Learner/node_modules/nuxt/dist/app/plugins/preload.server.js
generated
vendored
Normal file
|
|
@ -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);
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue