Start sharing components as a team!Share components as a team!Join Bit to build your applications faster.Get Started Free

vue

v0.1.4arrow_drop_down
v0.1.4
v0.1.3
v0.1.2
v0.1.1
v0.1.0
v0.0.16
v0.0.15
v0.0.14
v0.0.13
v0.0.12
v0.0.11
v0.0.10
v0.0.9
v0.0.8
v0.0.7
v0.0.6
v0.0.5
v0.0.4
v0.0.3
v0.0.2
v0.0.1
STATUS
Passing
DOWNLOADS
1,119
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
A month ago
SIZE
N/A
3 contributors
Install vue as a package?
Copied
npm i @bit/bit.envs.compilers.vue
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.dev
Component Example
Vue
React
Vue
Angular
React Native
Add dependency... help_outline
Just
import
any of the 1 million components
and packages in Bit or NPM to the example.
import Button from '@bit/grommet.grommet.button';
import Lodash from 'lodash';
toggle layout
modifieddraft
chevron_left
chevron_right

Vue-Compiler

This is a Vue compiler based on vue-cli 3 for building vue components for Bit. The compiler works with Vue single file components.

Features

  • Support single file components
  • Supports css, sass and less in scoped and global modes
  • Supports javascript and typescript
  • Generates a library target in commonjs format

Usage

You can use this compiler in a bit workspace containing Vue components:

bit import -c bit.envs/compilers/typescript
bit build

The component is built in an isolated “capsule” that is not impacted by the project configuration. To view the capsule directory use:

DEBUG=true bit build

Configuration

Support for configuration and plugins is coming soon.