0.3.0 • Published 3 years ago

vue-native-cli v0.3.0

Weekly downloads
313
License
MIT
Repository
github
Last release
3 years ago

Vue Native CLI

Build Native Mobile apps using Vue

Vue Native is a wrapper around the APIs of React Native. So, with Vue Native, you can do everything what you can do with React Native.

Vue Native CLI is a basic command line interface that generates a simple 1 page application with Expo, or optionally with React Native CLI

Installation Prerequisites

Since Vue Native is a wrapper around React Native, to use the CLI, you must have either expo-cli or react-native-cli installed globally.

To install Expo globally, use the following command:

$ npm install -g expo-cli

If you wish to use React Native CLI instead, use the following command to install it globally:

$ npm install -g react-native-cli

You will also need Android Studio / Xcode for development.

Installation

Once the prerequisites have been installed, you are all set to install vue-native-cli.

$ npm install -g vue-native-cli

Usage

For Expo users

Generate an app with the following command:

$ vue-native init <projectName>

This will create a project folder with the specified name in the current working directory.

To start the development server, execute the following commands:

$ cd <projectName>
$ npm start

Alternatively, you may use expo start to start the development server. expo start --ios and expo start --android can be used to directly start the application on the respective platform emulators.

For React Native CLI users

Generate an app with the following command:

$ vue-native init <projectName> --no-expo

Once the setup is complete, cd into the project directory and start the developement server as follows:

$ cd <projectName>
$ npm start

You may also use react-native commands directly. For example to run the application on an iPhone X simulator (assuming Xcode is installed), run

$ react-native run-ios --simulator "iPhone X"

Useful links

0.3.0

3 years ago

0.2.0

3 years ago

0.1.2

4 years ago

0.1.1

5 years ago

0.1.0

5 years ago

0.0.7

5 years ago

0.0.6

5 years ago

0.0.5

5 years ago

0.0.4

5 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1-alpha.20

6 years ago

0.0.1-alpha.19

6 years ago

0.0.1-alpha.18

6 years ago

0.0.1-alpha.17

6 years ago

0.0.1-alpha.16

6 years ago

0.0.1-alpha.15

6 years ago

0.0.1-alpha.14

6 years ago

0.0.1-alpha.13

6 years ago

0.0.1-alpha.12

6 years ago

0.0.1-alpha.11

6 years ago

0.0.1-alpha.10

6 years ago

0.0.1-alpha.9

6 years ago

0.0.1-alpha.8

6 years ago

0.0.1-alpha.7

6 years ago

0.0.1-alpha.6

6 years ago

0.0.1-alpha.5

6 years ago

0.0.1-alpha.4

6 years ago

0.0.1-alpha.3

6 years ago

0.0.1-alpha.2

6 years ago

0.0.1-alpha.1

6 years ago

0.0.1

6 years ago

3.17.4

6 years ago