Giter Site home page Giter Site logo

nicefish-admin's Introduction

#NiceFish-Admin

这是NiceFish的后台管理界面,纯前端,没有任何后端代码。整体基于Angular2和Bootstrap3.3.7,用来示范Angular2在后台管理系统里面的典型使用方法。

  • 【NiceFish(美人鱼)】:这是一个微型Blog系统,前端基于Angular 4.0.0 + ng-Bootstrap。http://git.oschina.net/mumu-osc/NiceFish

  • 【NiceFish-Admin是系统管理界面,基于Angular 4.0.0】:http://git.oschina.net/mumu-osc/NiceFish-Admin

  • 【NiceFish-Admin-ng1是一个基于Angular 1.6.4(最新版)的管理后台模板,刚开始做】https://git.oschina.net/mumu-osc/NiceFish-Admin-ng1.git 。这个项目我需要特别说明一下,根据目前的统计数据,还有我在数十家企业实际看到的情况,国内还有大量的企业在使用Angular 1.x,而其中很多居然没有做任何AMD处理!我的天哪!前端开发发展到了今天这个状态,AMD是标配啊兄弟们。就算你还在用jQuery做项目,AMD也是必须的哦。把所有js全部压在一个大文件里面,然后在index里面一次性加载,不能再这样做了啊!所以我会很快做好这个项目,给你们一个示范,看看大型的业务项目应该如何切分目录、模块,如何做AMD加载。

  • 【NiceFish-SpringMybatis是Java版后台】:http://git.oschina.net/mumu-osc/NiceFish-SpringMybatis

欢迎一起来玩儿!

效果图

用法

用git克隆本项目,从命令行进入进入项目根目录,依次执行以下命令:

npm i -g cnpm
cnpm i -g @angular/cli
cnpm install
ng serve

如果之前装过angular-cli需要先卸载:npm uninstall -g angular-cli 如果之前装过@angular/cli需要先卸载:npm uninstall -g @angular/cli 如果你之前已经尝试安装过node模块,请把NiceFish根目录下的node_moduels目录删掉 然后依次执行以下命令:

npm cache clean
npm i -g cnpm
cnpm i -g @angular/cli
cnpm install
ng serve

打开你的浏览器,访问http://localhost:4200/

如果你想让加载的包更小,请使用以下方式启动angular-cli内置的轻量级http server

ng serve --prod --aot

如果你需要把项目发布到其它类型的Server上,例如Tomcat,需要对Server进行一些简单的配置才能支持HTML5下的PushState路由模式,我在这篇文章里面有详细的介绍https://my.oschina.net/mumu/blog/830696。

【注意】如果你发现ng serve起不来,或者起来有报错,请把NiceFish根目录下的node_modules目录删掉,然后重新执行cnpm install,全局的@angular/cli也需要重装。

开源许可证

MIT

你可以随意使用此项目,无需通知我,因为我可能很忙没空搭理你。

关于我

我是大漠穷秋,目前是Google Angular项目组在**的开发者PM,负责Angular的推广工作,我会在各种渠道经常发布一些与Angular相关的技术文章,希望能给大家带来一点点帮助,请点这里:https://my.oschina.net/mumu/blog

如果您的企业或者组织需要Angular方面的技术支持,请填写这份申请单:https://gdgdocs.org/forms/d/e/1FAIpQLSfKA15nS0md58fR__tAV6gSEIPsVsLksT9knOgObq9IbVPuQg/viewform

【注意】我每天都会收到大量的求助消息,真的有点忙,所以请准确描述您的问题,最好能加上一些截图,非常感谢!

在线交流QQ群

Angular 1区:286047042(满) Angular 2区:139357161(满) Angular 3区:473129930(将满) Angular 4区:483016484(空)

nicefish-admin's People

Contributors

zhongjieren avatar

Watchers

James Cloos avatar ncutlh 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.