zoukankan      html  css  js  c++  java
  • ionic -v2版本项目结构

    myApp
    │  config.xml  //项目配置文件,包名、名称、minSdkVersion等都在此处配置
    │  ionic.config.json
    │  package.json  //项目依赖文件列表
    │  tsconfig.json
    │  tslint.json
    │  
    ├─hooks
    │      
    ├─node_modules  //项目依赖文件
    │                  
    ├─platforms  //项目添加的平台
    ├─resources  //项目图标
    │  │  icon.png  //安装应用后桌面图标
    │  │  splash.png  //打开APP后的闪屏图片
    │  │  
    │  ├─android
    │  │  ├─icon
    │  │  └─splash
    │  │          
    │  └─ios
    │      ├─icon
    │      └─splash
    │              
    ├─src  //项目路径,在此编辑自己的项目
    │  │  declarations.d.ts
    │  │  index.html  //项目入口
    │  │  manifest.json
    │  │  service-worker.js
    │  │  
    │  ├─app
    │  │      app.component.ts  //初始化项目,定义rootPage
    │  │      app.module.ts  //项目中所有的module都要在次声明
    │  │      app.scss  //全局样式表
    │  │      main.dev.ts
    │  │      main.prod.ts
    │  │      
    │  ├─assets  //资源文件,可将图片资源放于此处
    │  │          
    │  ├─pages  //项目页面
    │  │  ├─about
    │  │  │      
    │  │  ├─contact
    │  │  │      
    │  │  ├─home
    │  │  │      home.html  //.html 
    │  │  │      home.scss  //.scss 样式代码
    │  │  │      home.ts  //.ts 逻辑代码
    │  │  │      
    │  │  └─tabs
    │  │          tabs.html
    │  │          tabs.ts
    │  │          
    │  └─theme  //项目主题,比如可以定义所有页面的背景色$background-color
    │          variables.scss
    │          
    └─www  //编译后的项目会保存在这里
    

      

  • 相关阅读:
    Oracle冷备份需要保存的文件
    oracle 重建 sys密码文件
    ORA-01991错误
    oracle ORA-01033问题怎么解决
    oracle创建表空间
    oracle 10G服务器端安装以及冷备份恢复
    完全卸载oracle11g步骤
    42. 函数指针用在菜单驱动系统中,练习函数指针数组的使用。
    41. 定义与调用一个函数指针时的几种方式
    40. 使用数组时的四个要点
  • 原文地址:https://www.cnblogs.com/jinxiblog/p/6820684.html
Copyright © 2011-2022 走看看