Vue Bundler is a frontend build tool designed for Vue.js applications, currently at version 0.4.10. It aims to provide an out-of-the-box configuration experience, simplifying the setup process for Vue projects. Key features include file-system based routing, comprehensive support for modern web development standards like ES6+, TypeScript, various CSS pre-processors (Less/Sass/CSS Modules), and seamless integration with Tailwind CSS. The tool supports both traditional web application bundling and the creation of reusable Vue plugins. Its configuration system is designed to be compatible with Vite, allowing developers familiar with Vite to leverage existing knowledge and configuration patterns. As it's still in an early development stage (pre-1.0), users should anticipate a potentially rapid release cadence with possible breaking changes between minor versions. The primary interaction model is through command-line interface scripts defined in `package.json`, rather than a programmatic API.
npm install vue-bundlerVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to install vue-bundler, configure package.json scripts for development and build tasks, and set up a custom `bundler.config.js` file for advanced options like proxying API requests, leveraging Vite-compatible syntax.
Review the project's GitHub repository or npm page for specific release notes and migration guides when updating to a new minor or patch version.
Ensure `bundler.config.js` exports its configuration object using `module.exports = () => { /* ... */ };`. Do not use `export default` in this file.Interact with vue-bundler through the provided CLI commands (`bundler-dev`, `bundler`) defined in your `package.json` scripts, rather than attempting to import functions from the package directly.
Ensure `vue-bundler` is installed as a dev dependency (`pnpm add vue-bundler --dev`) and that its commands (`bundler-dev`, `bundler`) are run via `npm run <script-name>` from `package.json`.
Carefully review the `bundler.config.js` syntax against Vite's documentation for the specific options you are trying to use. Ensure plugins are correctly installed and configured as an array.