Github user cxfeng1 commented on a diff in the pull request: https://github.com/apache/incubator-weex-site/pull/3#discussion_r147129588 --- Diff: source/guide/index.md --- @@ -74,31 +74,40 @@ After doing that, you'll get a standard **Weex + Vue.js** project under the `awe ```bash cd awesome-app npm install -npm run start +npm start ``` -It will start a web server on the `8080` port. You can open `http://localhost:8080/index.html` to see the result rendered on the web. Besides, You can also open the `http://localhost:8080/preview.html` to preview the web render result in iframe and with a QR code generated on the right, which you can use the [Weex plaground app]() to scan it to see the render result on the mobile. - -![Preview]() +It will start a web server on the `8080` port. You can open `http://localhost:8080` to see the result rendered on the web. Besides, You can also run `weex src/index.vue` to preview the web render result in iframe and with a QR code generated on the right, which you can use the [Weex plaground app](http://weex.apache.org/cn/playground.html) to scan it to see the render result on the mobile. ### Build and Run +By the below command, `weex-toolkit` will create `ios/android` project in your new project, you should +make sure your project is created by the `weex-toolkit`. + ```bash weex platform add ios weex platform add android ``` +You need to install [Xcode](https://developer.apple.com/xcode/) for you to provide ios running environment and `Android SDK` (as you can install [Android Studio](https://developer.android.com/studio/index.html) to manage your android environment) for you to provide android running environment. + --- End diff -- Please provide more information here, for example, how to install the iOS/Android simulators, I have installed Android Studio, but when I run 'weex run android' , it doesn't work, error message: `No android devices found.`
---