feat: init
This commit is contained in:
11
node_modules/nuxt/dist/pages/runtime/page-placeholder.js
generated
vendored
Normal file
11
node_modules/nuxt/dist/pages/runtime/page-placeholder.js
generated
vendored
Normal file
@@ -0,0 +1,11 @@
|
||||
import { defineComponent } from "vue";
|
||||
import { devPagesDir } from "#build/nuxt.config.mjs";
|
||||
export default defineComponent({
|
||||
name: "NuxtPage",
|
||||
setup(_, props) {
|
||||
if (import.meta.dev) {
|
||||
console.warn(`Create a Vue component in the \`${devPagesDir}/\` directory to enable \`<NuxtPage>\``);
|
||||
}
|
||||
return () => props.slots.default?.();
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user