Coder Social home page Coder Social logo

lvdengmei / angularseed Goto Github PK

View Code? Open in Web Editor NEW

This project forked from jiwenjiang/angularseed

0.0 2.0 0.0 160 KB

🐢angular1.6+webpack+es6 seed project

Home Page: https://github.com/jiwenjiang/angularSeed

License: MIT License

JavaScript 62.31% HTML 12.50% CSS 25.20%

angularseed's Introduction

angularSeed

技术栈 (technology)

angular1.6+webpack+es6 

文件结构 (File structure)

├── webpack                     构建服务和webpack配置
├── dist                        项目build目录
├── index.html                  项目入口文件
├── app.js                      ng依赖注入
├── set.js                      快速生成组件脚本
├── webpack.config.js           webpack
├── .eslintrc.js                eslint配置文件
├── package.json                项目配置文件
├── src                         生产目录
    |—— assets                  静态资源
    |——|—— css                  全局样式    
    |——|—— images               图片
    |—— commonComponents        公共组件
    |—— components              页面组件
    |——|—— login                登录页组件    
    |—— config                  配置http访问ip
    |—— server                  公用服务

项目运行(Probject running)

1.克隆项目到本地 : git clone https://github.com/jiwenjiang/angularSeed.git

2.安装依赖环境 : npm install

3.启动项目 : npm run start        

4.打包项目 : npm run build

快速生成组件

运行命令:node set foo 会在conponents文件下,生成foo文件夹,并生成foo.html,foo.less,foo.js,index.js等四个文件,并自动填充部分通用代码。

2017/07/19 提交修改

新增windows用户下,获取c盘用户名,自动填充为index.js等文件的作者的功能(不是开机登录名),即c:users\xxx中的xxx。 修改c盘文件夹名称方法请参考:http://blog.csdn.net/j_bleach/article/details/75449161

2017/07/20 提交修改

更该项目目录,将css,image重新划分至assets

2017/11/29 提交修改

新增相对路径配置:_xx 重定向至xx目录

文章参考

https://segmentfault.com/a/1190000009246295

angularseed's People

Contributors

jiwenjiang avatar

Watchers

 avatar  avatar

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.