i've used and loved ionic in many mobile apps, but now as i'm building a web client for my app, i understand that ionic was not meant for desktop apps but my question is can i use its component in a regular angularjs - bootstrap 3 website ?
components i'm after are mostly the
i tried to start a new ionic project and add my custom css and js and just copy out www content
$password = hash('ripemd320',_POST['Password'] )
$results = mysql_query("SELECT 1 FROM `users` WHERE `Username`='$username' AND `Password`='$password'");
but faced a problem as ionic keep changing my dom, and applying its own css that override mine. so i only want to extract the components and use regular angularjs.
is it possible ?
答案 0 :(得分:-1)
有可能,因为离子只是AngularJS指令,针对移动设备进行了优化。
它有一个简单的方法来添加cordova项目(ngCordova),但如果你不需要那些组件并且只建立一个浏览器项目,那就不要使用那个js文件。
更重要的是,通过执行离子服务,您确实将项目运行到浏览器中。
关于您的CSS问题,最好将您的代码粘贴到codepen或jsfiddle中,让我们了解您的问题。