Vue CLI plugin that adds YAML support to Webpack via yaml-loader. Version 1.0.2, no recent updates. Allows importing .yml/.yaml files in Vue projects with zero configuration, supporting both default and named exports. Differentiates from manual webpack config by integrating seamlessly with Vue CLI's plugin system, making it trivial to add YAML loading to any Vue CLI project.
npm install vue-cli-plugin-yamlVerified import paths — ran on the pinned version, not inferred.
Shows basic installation and usage: importing YAML files as JS objects with default and named exports.
Migrate to Vite-based Vue 3 projects and use Vite's built-in YAML support or a plugin like vite-plugin-yaml.
Use default import and access nested properties manually: import config from './config.yml'; config.nested.key
Ensure no duplicate yaml-loader rules are added manually.
Install and invoke vue-cli-plugin-yaml: vue add yaml
Run: yarn add -D yaml-loader
No dependency data recorded yet.