使用离子和材料设计登录 [英] Login with ionic and material design

查看:111
本文介绍了使用离子和材料设计登录的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个带侧边菜单的离子项目。
现在我想以简单的方式添加并登录酷形式,例如
http://ionicmaterial.com/
但问题是我没有看到任何示例如何在激动人心的项目中添加它,它将首先加载登录表单,之后将重定向到常规页面。
我的项目如下:

I have an ionic project with side menu and all. Now I want to add in simple way and login cool form, like http://ionicmaterial.com/ But the issue I didn't see any examples how to add it in exciting project that it will load the login form first and after that will redirect to regular page. My project looks like:

app.config(function ($stateProvider, $urlRouterProvider) {
    $stateProvider

        .state('app', {
            url: "/app",
            abstract: true,
            templateUrl: "templates/menu.html",
            controller: 'AppCtrl'
        })
        .state('app.placeslists', {
            url: "/placeslists",
            views: {
                'menuContent': {
                    templateUrl: "templates/placeslists.html",
                    controller: 'PlaceslistsCtrl'
                }
            }
        })

如何添加首先加载的身份验证(令牌)的登录页面以及如何添加材料登录页面简单。

How can I add the login page with authentication (token) that it will load first and how can I add the material for login page in easy way.

谢谢!!!

推荐答案

我在最后找到了你可以找到的演示
的所有信息也在:
https://github.com/zachsoft/Ionic-Material

I found at the end all info with demos you can find also in: https://github.com/zachsoft/Ionic-Material

这篇关于使用离子和材料设计登录的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆