vuera-ts
| Install | |
|---|---|
npm install vuera-ts |
|
| Latest Version: | 1.0.8 |
| Vue: | 2 · 3 |
| License: | MIT |
| Last Updated: | Nov 27, 2023 |
| Links: | GitHub · npm |
Vuera in TypeScript
This is the vuera lib from akxcv (amazing effort man!). Check it Vuera GH.
Due to inactivity in vuera part, I've decided to move forward with vuera-ts and maintain it for my professional work.
Usage
Check ./webpack_vue2 example. I prefer to control myself how files are loaded, so the project is a simple vue2 project build from scratch using webpack v5 .
In a nutshell:
Install
yarn add vuera-ts
Usage
import { ReactInVue } from "vuera-ts";
import { TestComp } from "./react_ui";
const TestCompInVue = ReactInVue(TestComp);
Then you can use TestCompInVue in your Vue component. Register it in Vue.components then add it to your template like so:
<TestCompInVue foo="bar from Vue">
This is a children from Vue - it updates on Hot Reload! :D
</TestCompInVue>
Library specific
Clone the project
git clone git@github.com:nmpribeiro/vuera-ts.git
Install lib
yarn
Build
yarn build
Publish
yarn publish
TODO
- Setup
webpack_vue3example - Setup
webpack_reactexample - Check if Vue in react works (I am not very motivated to do it)
Contributors
I really enjoy people recognizing others. Therefore, whoever contributes to our project will have a mention here :) I am very grateful!
Related Packages
ESLint configuration for JavaScript, TypeScript, React & Vue projects, by Julio...
Version History
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.8 | >= 2.7 | MIT | |
| 1.0.7 | >= 2.6 | MIT | |
| 1.0.6 | >= 2.6 | MIT | |
| 1.0.5 | >= 2.5 | MIT | |
| 1.0.4 | >= 2.5 | MIT | |
| 1.0.3 | >= 2.2 | MIT | |
| 1.0.2 | >= 2.2 | MIT | |
| 1.0.1 | >= 2.2 | MIT | |
| 1.0.0 | >= 2.2 | MIT |
Pre-releases (2)
| Version | Released | Vue | License |
|---|---|---|---|
| 1.0.3-rc02 | >= 2.5 | MIT | |
| 1.0.3-rc01 | >= 2.5 | MIT |