MCPcopy Index your code
hub / github.com/GeekyAnts/vue-native-core

github.com/GeekyAnts/vue-native-core @v0.3.1 sqlite

repository ↗ · DeepWiki ↗ · release v0.3.1 ↗
842 symbols 2,039 edges 203 files 63 documented · 7%
README

Vue Native

Backers on Open Collective Sponsors on Open Collective Build Status

Visit our website at vue-native.io or read the official documentation here.

Build native mobile apps using Vue

Vue Native is a framework to build cross platform native mobile apps using JavaScript. It is a wrapper around the APIs of React Native. So, with Vue Native, you can do everything that you can do with React Native. With Vue Native, you get

  • The simplicity of Vue.js. Incrementally build user interfaces with the familiar syntax of HTML and CSS in single file components.
  • Seamless interop with React Native. Use core React Native components with Vue.js syntax out of the box to develop mobile apps on both iOS and Android.

Contents

Documentation

You can find the full documentation for Vue Native on this website. It covers installation and setup, component basics, routing, testing, the internal API and more.

The source for the Vue Native documentation and website is hosted on a separate repo, here

Installation

To install Vue Native's official CLI, run

$ npm install vue-native-cli -g

To use the CLI, you must have either expo-cli or react-native-cli installed globally.

Project setup with Vue Native CLI

The Vue Native CLI can be used to easily generate a fully configured Vue Native app. It wraps expo-cli and react-native-cli to generate a simple single page application (SPA) after installing and configuring dependencies from vue-native-core.

You should have either expo-cli or react-native-cli installed as a global dependency. Refer to the installation guide for details on project setup. The GitHub repository for Vue Native CLI is hosted here.

With the CLI, generating a Vue Native project is as easy as running the command

$ vue-native init <projectName>

Using Vue Native in a React Native project

It is possible to integrate Vue Native into a pre-existing React Native project. You can find instructions to do this here.

These instructions can also be used to set up a Vue Native project from scratch.

Available React Native components

All the core components of React Native 0.63 onwards are globally registered and available to use in templates without the need to import and locally register.

The components and their React Native documentation can be found here.

All other components that were previously available, but then deprecated from React Native can still be used by installing their respective packages.

For example, to use WebView, use the react-native-webview package.

Contributors

This project exists thanks to all the people who contribute.

Backers

Thank you to all our backers! 🙏 [Become a backer]

Sponsors

Support this project by becoming a sponsor. Your logo will show up here with a link to your website. [Become a sponsor]

License

MIT

Credits to react-vue

A huge thanks to the author of react-vue for most of the work on Vue Native.

Extension points exported contracts — how you extend this code

FunctionalComponentOptions (Interface)
(no doc) [9 implementers]
types/options.d.ts
GlobalAPI (Interface)
(no doc)
flow/global-api.js
Component (Interface)
(no doc)
flow/component.js
VNodeData (Interface)
(no doc)
flow/vnode.js
VNodeChildrenArrayContents (Interface)
(no doc)
types/vnode.d.ts
PluginObject (Interface)
(no doc)
types/plugin.d.ts
Component (Interface)
(no doc)
types/test/options-test.ts
ComponentOptions (Interface)
(no doc)
types/options.d.ts

Core symbols most depended-on inside this repo

isDef
called by 138
src/shared/util.js
isUndef
called by 50
src/shared/util.js
makeMap
called by 26
src/shared/util.js
genElement
called by 25
src/platforms/vue-native/compiler/codegen/RenderGenerator.js
extend
called by 23
src/shared/util.js
isObject
called by 18
src/shared/util.js
camelize
called by 18
src/platforms/vue-native/scripts/util/parseCss.js
hasOwn
called by 16
src/shared/util.js

Shape

Function 577
Method 193
Class 52
Interface 20

Languages

TypeScript100%

Modules by API surface

types/test/options-test.ts27 symbols
src/core/vdom/patch.js26 symbols
src/compiler/parser/index.js26 symbols
src/platforms/vue-native/compiler/codegen/RenderGenerator.js25 symbols
src/shared/util.js24 symbols
types/options.d.ts23 symbols
src/platforms/vue-native/runtime/render-helpers/transitionWeb.js23 symbols
src/compiler/codegen/index.js23 symbols
src/platforms/vue-native/runtime/components/buildWebTransition.js22 symbols
src/platforms/vue-native/compiler/codegen/WebRenderGenerator.js18 symbols
src/platforms/vue-native/runtime/components/buildNativeComponent.js17 symbols
src/platforms/vue-native/runtime/components/buildComponent.js17 symbols

Dependencies from manifests, versioned

@babel/core7.5.5 · 1×
@babel/preset-env7.5.5 · 1×
@babel/preset-flow7.0.0 · 1×
babel-core6.9.0 · 1×
babel-eslint10.0.3 · 1×
babel-helper-vue-jsx-merge-props2.0.2 · 1×
babel-jest26.0.1 · 1×
babel-plugin-syntax-dynamic-import6.18.0 · 1×
babel-plugin-syntax-jsx6.18.0 · 1×
babel-plugin-transform-decorators-legacy1.3.4 · 1×
babel-preset-flow-vue1.0.0 · 1×

For agents

$ claude mcp add vue-native-core \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact