javascript框架
Vue原生 (Vue Native)
Start with the Vue Native CLI
从Vue本机CLI开始
The Vue Native CLI is used to generate a Vue Native app, which is a React Native API wrapper. This means that with Vue Native, you can do anything that could be done with React Native.
Vue本机CLI用于生成Vue本机应用程序,该应用程序是React Native API包装器。 这意味着使用Vue Native,您可以执行React Native可以做的任何事情。
The Vue Native CLI generates a simple single page application (SPA) using create-react-native-app and vue-native-core.
Vue本机CLI使用create-react-native-app和vue-native-core生成一个简单的单页应用程序(SPA)。
安装先决条件 (Installation Prerequisites)
You should have create-react-native-app or react-native-cli installed as a global dependency
您应该将create-react-native-app或react-native-cli安装为全局依赖项
For React Native ClI => npm install react-native-cli -g
For CRNA => npm install create-react-native-app -g
安装: (Installation:)
$ npm install -g vue-native-cli
Generate CRNA + Vue App App
生成CRNA + Vue App App
$ vue-native init <projectName>
翻译自: https://vuejsexamples.com/a-framework-to-build-cross-platform-native-mobile-apps-using-javascript/
javascript框架