GithubHelp home page GithubHelp logo

xishanwawa / antd-mobile-project-init Goto Github PK

View Code? Open in Web Editor NEW

This project forked from szwork2013/antd-mobile-project-init

0.0 1.0 0.0 164 KB

antd-mobile project init

JavaScript 89.44% CSS 5.84% HTML 4.72%

antd-mobile-project-init's Introduction

该项目用于在使用antd-mobile的项目快速初始化,开发调试时代码修改浏览器能自刷新!!

开发调试

npm start

发布代码

npm run build

目录树:

├─gulpfile.js-----------------------------------webpack开发以及打包发布设置
├─package.json----------------------------------安装依赖
├─template.html---------------------------------hmtl模板
├─webpack.config.js-----------------------------webpack公用设置
├─dist------------------------------------------打包发布文件
├─mock------------------------------------------mock数据
└─src-------------------------------------------开发代码
    │  main.js----------------------------------webpack打包主要入口
    │  router.js--------------------------------router设置
    │  
    ├─css
    │      index.css----------------------------自定义css(这文件在main.js中引入了)
    │      
    ├─lib---------------------------------------静态文件
    │  └─tabBarSvg------------------------------脚部tabBar需要使用是svg
    │          finance.svg
    │          finance_select.svg
    │          index.svg
    │          index_select.svg
    │          mine.svg
    │          mine_select.svg
    │          report.svg
    │          report_select.svg
    │          
    ├─page--------------------------------------router编写页面
    │  ├─finance
    │  │      finance.js
    │  │      
    │  ├─index
    │  │      index.js
    │  │      
    │  ├─mine
    │  │      mine.js
    │  │      
    │  ├─public
    │  │      footBar.js
    │  │      layOut.js
    │  │      svg.js
    │  │      
    │  ├─report
    │  │      report.js
    │  │      
    │  └─svg-file
    │          index.js
    │          
    ├─redux-------------------------------------redux管理
    │      action.js
    │      reducers.js
    │      store.js
    │      
    └─system------------------------------------辅助方法封装
            api.js
            apiHelper.js------------------------获取数据方法封装(可以选择去jquery化)
            system.js
            tool.js

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.