• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    公众号

GeekyAnts/vue-native-core: Vue Native is a framework to build cross platform nat ...

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称(OpenSource Name):

GeekyAnts/vue-native-core

开源软件地址(OpenSource Url):

https://github.com/GeekyAnts/vue-native-core

开源编程语言(OpenSource Language):

JavaScript 98.0%

开源软件介绍(OpenSource Introduction):

⚠️ This project has been deprecated and is no longer maintained ⚠️

Vue Native

No Maintenance Intended

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.

License

MIT

Credits to react-vue

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




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
上一篇:
play-co/devkit: HTML 5 game platform for browser and mobile发布时间:2022-08-30
下一篇:
Minds / Minds Mobile · GitLab发布时间:2022-08-30
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap