当前位置: 首页 > 软件库 > 手机/移动开发 > >

vue-native-core

授权协议 MIT License
开发语言 Java
所属分类 手机/移动开发
软件类型 开源软件
地区 不详
投 递 者 田英卓
操作系统 跨平台
开源组织
适用人群 未知
 软件概览

Vue Native

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.

  • 项目是基于Vue-cli webpack构建的项目,所以使用的webpack是3版本,vue-loader是13版本,所以有些配置需要修改。 1.先把package.json装过的依赖贴出来 { "name": "app", "version": "1.0.0", "description": "A Vue.js project", "author": "Visu

  • 一、 vue-router vue-route官方 1. 简介 使用vue.js开发SPA(Single Page Application)单页面应用 根据不同url地址,显示不同的内容,但显示在同一个页面中,称为单页面应用 https://unpkg.com/vue-router/dist/vue-router.js 2. 基本使用 创建单页面应用的几个步骤: 1.定义组件 2.配置路由 3.创

 相关资料
  • Vue+Web+Native THIS PROJECT IS UNDER DEVELOPMENT AND STILL AT AN EARLY STAGE. Vue+Web+Native is a boilerplate based on Vue and Nativescript that allows for simultaneous development of web and native a

  • react-native项目中使用react-native-webview嵌入vue页面,两种方式,在不同机型上无效. 方式一:直接使用window.postMessage(例如在 vivo z3手机(android9) 上vue页面监听方法不执行) 方式二:使用window.WebViewBridge.onMessage(例如在 小米手机(android13) 上vue页面监听方法不执行) 以上

  • 如果要在Oracle中使用特定于数据库的功能(如查询提示或CONNECT关键字),则可以使用本机SQL来表示数据库查询。 Hibernate 3.x允许您为所有创建,更新,删除和加载操作指定手写SQL,包括存储过程。 您的应用程序将使用Session接口上的createSQLQuery()方法从会话创建本机SQL查询 - public SQLQuery createSQLQuery(String

  • 本文向大家介绍react-native 启动React Native Packager,包括了react-native 启动React Native Packager的使用技巧和注意事项,需要的朋友参考一下 示例 在最新版本的React Native上,无需运行打包程序。它将自动运行。 默认情况下,这将在端口8081上启动服务器。要指定服务器所在的端口            

  • 百度移动统计SDK支持使用react native框架的H5页面统计,封装好的插件已经在github上开源,相关用法具体请参考:https://github.com/BaiduMobileAnalysis/baidumobstat-react-native。