• 设为首页
  • 点击收藏
  • 手机版
    手机扫一扫访问
    迪恩网络手机版
  • 关注官方公众号
    微信扫一扫关注
    迪恩网络公众号

valnub/Framework7-with-AngularJS-demo-app: ⛔️ Unmaintained and deprecated!

原作者: [db:作者] 来自: 网络 收藏 邀请

开源软件名称:

valnub/Framework7-with-AngularJS-demo-app

开源软件地址:

https://github.com/valnub/Framework7-with-AngularJS-demo-app

开源编程语言:

JavaScript 70.3%

开源软件介绍:

Deprecated

No Maintenance Intended


Framework7 with Angular 1.x and TypeScript demo app

A demo application built on top of Framework7, AngularJS, SASS and TypeScript. Feel free to download, modify, fork or comment. This app will list upcoming and current movies from theaters and give you detailed information

Framework7 version compatibility

  • V1: Yes
  • V2: No

Important! Read this first!

This example is not best practice on how to use Framework7, it’s more of an experiment to see how it works with Angular and TypeScript. Framework7 has an own templating engine called Template7 (and also now supports Vue and React), so Angular is not mandatory. The important part is that F7 is designed to work with JavaScript, rather than TypeScript. So, if you’re new to Framework7, do not assume that this example is the way you should create F7 apps! It was an experiment to see what happens if you combine these technologies.

Also, please keep in mind that this is an old demo based on Angular 1.x. If you like Angular, then I rather recommend to use Ionic since it fully supports Angular2. If you want to use Framework7, then use Framework7-Vue or Framework7-React.

If you feel adventurous enough to dive into this experiement read on :-)

Demo

Check out working demo here: http://www.timo-ernst.net/misc/f7angulardemo

Smartphone portrait mode

How to build

  1. Install npm (http://www.npmjs.com)
  2. Install Grunt (http://www.gruntjs.com)
  3. cd to project folder
  4. From cmd run npm install
  5. Then call grunt compile
  6. Copy the content of /build to htdocs of your webserver

How to do changes

Go to src folder and edit the following files:

  • HTML: .dev.html files
  • Styles: .sass files
  • Scripts: .ts files (Typescript, not JavaScript!)

Then call grunt compile again and check the result in /build folder.

Source code explanation:

Detailed explanation of the source code: http://timo-ernst.net/blog/2015/04/02/experiment-an-iphone-app-built-with-framework7-typescript-and-angularjs/

Template

This app is based on top of this template: https://github.com/valnub/Framework7-Typescript-Template

Alternative, easier template

For some people the template mentioned above is a little to complicated because it relies on npm and grunt. If you want an alternative with just pure html, css and javascript without a build process involved you can try this alternative: https://github.com/valnub/Framework7-Pure-Angular-Template or watch my video screencast tutorial: http://www.timo-ernst.net/blog/2015/11/05/video-screencast-how-to-use-framework7-with-angularjs/




鲜花

握手

雷人

路过

鸡蛋
该文章已有0人参与评论

请发表评论

全部评论

专题导读
热门推荐
阅读排行榜

扫描微信二维码

查看手机版网站

随时了解更新最新资讯

139-2527-9053

在线客服(服务时间 9:00~18:00)

在线QQ客服
地址:深圳市南山区西丽大学城创智工业园
电邮:jeky_zhao#qq.com
移动电话:139-2527-9053

Powered by 互联科技 X3.4© 2001-2213 极客世界.|Sitemap