vue

v0.1.1arrow_drop_down
v0.1.1
v0.1.0
STATUS
Passing
DOWNLOADS
31
LICENSE
MIT
VISIBILITY
Public
PUBLISHED
4 years ago
SIZE
N/A
1 contributor
Install vue as a package?
Copied
npm i @bit/bit.envs-dev.compilers.vue
Set Bit as a scoped registryLearn more
npm config set '@bit:registry' https://node.bit.cloud
Component Example
React
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
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.

Help and resources