Skip to content

基于 Angular8.0和ng-alain的 Demo 麻雀虽小,五脏俱全,其 结合使用了angular基本的指令、管道、数据双向绑、事件、 http的封装统一拦截响应处理,路由的定义、使用,以及组件的引入,服务引入和编写、模板 的编写等等Angular技术,rxjs 的使用,ng-zorro的使用。

BeginnerDone/MyMusicApp

Repository files navigation

说明

其中的接口可能会失效

MyMusic

This project was generated with Angular CLI version 8.0.1.

Development server

Run ng serve for a dev server. Navigate to http://localhost:4200/. The app will automatically reload if you change any of the source files.

Code scaffolding

Run ng generate component component-name to generate a new component. You can also use ng generate directive|pipe|service|class|guard|interface|enum|module.

Build

Run ng build to build the project. The build artifacts will be stored in the dist/ directory. Use the --prod flag for a production build.

Running unit tests

Run ng test to execute the unit tests via Karma.

Running end-to-end tests

Run ng e2e to execute the end-to-end tests via Protractor.

Further help

To get more help on the Angular CLI use ng help or go check out the Angular CLI README.

news api: https://api.apiopen.top/getJoke type string 否 指定查询类型,可选参数(all/video/image/gif/text) all page string 否 页码(传0或者不传会随机推荐) 1 count string 否 每页返回数量 10

详情: https://api.apiopen.top/getSingleJoke sid

music:

https://api.apiopen.top/searchMusic?name=末日

About

基于 Angular8.0和ng-alain的 Demo 麻雀虽小,五脏俱全,其 结合使用了angular基本的指令、管道、数据双向绑、事件、 http的封装统一拦截响应处理,路由的定义、使用,以及组件的引入,服务引入和编写、模板 的编写等等Angular技术,rxjs 的使用,ng-zorro的使用。

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published