1 contributor
Like
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
and packages in Bit or NPM to the example. any of the 1 million componentstoggle 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.