Webpack loader that auto-generates Vue initialization code for .vue entry files, eliminating manual app creation for client and server-side rendering. Designed for easywebpack ecosystem, version 1.1.5 (latest, low activity). Differentiators: zero-config entry for SSR, automatic template injection with store/router hydration, and hook support. Maintained but infrequent updates.
npm install vue-entry-loaderNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Webpack configuration to use vue-entry-loader for automatic Vue app initialization from .vue entry files.
Only use this loader on entry .vue files (e.g., via webpack entry config) and exclude from component rules using `include` or separate rules.
For modern Vue SSR, consider using `vuex` and `vue-router` directly or migrate to vue-entry-loader alternatives.
Use Vue 2.x or use vue-loader for Vue 3; this loader is not compatible.
Set `inject: true` or provide a custom template via `template` option to enable auto-injection.
Check documentation for SSR integration; the loader-generated entry is used in a bundleRenderer or renderToString call.
Run `npm install vue-entry-loader --save-dev` and ensure node_modules is in require path.
Install vue: `npm install vue --save`.
The loader injects `import Vue from 'vue';` automatically; ensure `vue` is resolvable and webpack is configured to handle ES modules.
Ensure your .vue file exports the router same way as store, or use a custom template that handles missing router gracefully.
No dependency data recorded yet.