@roots/bud-vue
TypeScript icon, indicating that this package has built-in type declarations

6.20.0 • Public • Published

bud.js

MIT License npm Follow Roots

@roots/bud-vue

Adds @vue/vue support to @roots/bud projects


Installation

Install @roots/bud-vue to your project.

Yarn:

yarn add @roots/bud-vue --dev

npm:

npm install @roots/bud-vue --save-dev

Usage

Once installed, vue should be ready to use in your project. The extension is pre-configured to support Vue 3 single file components (runtime only).

Disabling runtime only

You can disable the runtimeOnly default by adding the following to your config:

export default async (bud) => {
  bud.vue.setRuntimeOnly(false);
};

Compatible transpilers

Developers using JS may wish to consider installing @roots/bud-babel to handle code transforms that are not specific to vue.

For typescript language support, install @roots/bud-typescript as a peer dependency.

For scss support, install @roots/bud-sass as a peer dependency.

Using Vue 2

If you are trying to configure @roots/bud-vue for use with Vue 2 you will need to install a version of vue tagged legacy and a compatible version of the vue-loader and vue-template-compiler packages.

If a custom version of vue is included in the project package.json the extension will automatically detect it and configure itself accordingly.

Contributing

Contributions are welcome from everyone.

We have contribution guidelines to help you get started.

License

@roots/bud-vue is licensed under MIT.

Community

Keep track of development and community news.

Sponsors

Bud is an open source project and completely free to use.

However, the amount of effort needed to maintain and develop new features and projects within the Roots ecosystem is not sustainable without proper financial backing. If you have the capability, please consider sponsoring Roots.

KM Digital Carrot WordPress.com Worksite Safety Copia Digital Freave

Readme

Keywords

Package Sidebar

Install

npm i @roots/bud-vue

Weekly Downloads

541

Version

6.20.0

License

MIT

Unpacked Size

31.9 kB

Total Files

16

Last publish

Collaborators

  • qwp6t
  • swalkinshaw
  • retlehs
  • log1x
  • kellymears