Skip to content
项目

touchstonejs/touchstonejs-starter

在 GitHub 查看

关于

Reference Touchstone App with examples of all UI components

网站与应用开发

这些数字如何统计

实测星标增长

24小时
0
7天
0
15天
0
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

TouchstoneJS Starter

Reference TouchstoneJS App with examples of all UI components.

See the demo live here.

To build and preview locally, run npm start. It will build the app with browserify, and start a preview server at localhost:8000.

The source for the app is in the /src folder; the app will be built to /www.

Use with Cordova

Here's how to get the Starter project running in a Cordova app, in the iOS Simulator. You'll need a Mac and XCode to follow this process. Check the Cordova Docs for more information, and instructions on how to work with other platforms like Android.

Getting set up

First, Install Cordova:

npm install -g cordova

Create a new Project:

cordova create Starter

Add your target platform:

cordova platform add ios

Building and running the project

Build the www folder using the build script:

npm run build

Then prepare the cordova project:

cordova prepare

You can then open the XCode Project here: platforms/ios/Starter.xcodeproj and run it in the simulator or on a device.

To continuously build the source as you make changes, run:

npm run watch

For production use, you can strip debug code and minify the build:

npm run build:production

Feedback / Questions?

Let us know! Contact us at thinkmill.com.au or open an issue.

We welcome all ideas, contributions and PRs.

License

MIT. Copyright (c) 2015 Thinkmill Pty Ltd.

探索相关项目

加载中…