ionic-news-app

所属分类:建站系统
开发工具:TypeScript
文件大小:2654KB
下载次数:0
上传日期:2023-01-23 20:06:48
上 传 者sh-1993
说明:  使用Ionic和Wordpress REST API构建的新闻应用程序
(A news app built with Ionic and using Wordpress REST API)

文件列表:
.editorconfig (363, 2020-02-02)
config.xml (4215, 2020-02-02)
package-lock.json (334521, 2020-02-02)
package.json (3352, 2020-02-02)
resources (0, 2020-02-02)
resources\android (0, 2020-02-02)
resources\android\icon (0, 2020-02-02)
resources\android\icon\drawable-hdpi-icon.png (4158, 2020-02-02)
resources\android\icon\drawable-hdpi (0, 2020-02-02)
resources\android\icon\drawable-hdpi\ic_stat_onesignal_default.png (749, 2020-02-02)
resources\android\icon\drawable-ldpi-icon.png (1807, 2020-02-02)
resources\android\icon\drawable-mdpi-icon.png (2551, 2020-02-02)
resources\android\icon\drawable-mdpi (0, 2020-02-02)
resources\android\icon\drawable-mdpi\ic_stat_onesignal_default.png (583, 2020-02-02)
resources\android\icon\drawable-xhdpi-icon.png (5711, 2020-02-02)
resources\android\icon\drawable-xhdpi (0, 2020-02-02)
resources\android\icon\drawable-xhdpi\ic_stat_onesignal_default.png (1150, 2020-02-02)
resources\android\icon\drawable-xxhdpi-icon.png (8914, 2020-02-02)
resources\android\icon\drawable-xxhdpi (0, 2020-02-02)
resources\android\icon\drawable-xxhdpi\ic_stat_onesignal_default.png (1609, 2020-02-02)
resources\android\icon\drawable-xxxhdpi-icon.png (12321, 2020-02-02)
resources\android\icon\drawable-xxxhdpi (0, 2020-02-02)
resources\android\icon\drawable-xxxhdpi\ic_stat_onesignal_default.png (2380, 2020-02-02)
resources\android\splash (0, 2020-02-02)
resources\android\splash\drawable-land-hdpi-screen.png (59768, 2020-02-02)
resources\android\splash\drawable-land-ldpi-screen.png (17240, 2020-02-02)
resources\android\splash\drawable-land-mdpi-screen.png (29427, 2020-02-02)
resources\android\splash\drawable-land-xhdpi-screen.png (113240, 2020-02-02)
resources\android\splash\drawable-land-xxhdpi-screen.png (163381, 2020-02-02)
resources\android\splash\drawable-land-xxxhdpi-screen.png (215164, 2020-02-02)
resources\android\splash\drawable-port-hdpi-screen.png (61780, 2020-02-02)
resources\android\splash\drawable-port-ldpi-screen.png (17552, 2020-02-02)
resources\android\splash\drawable-port-mdpi-screen.png (30368, 2020-02-02)
resources\android\splash\drawable-port-xhdpi-screen.png (118970, 2020-02-02)
resources\android\splash\drawable-port-xxhdpi-screen.png (166943, 2020-02-02)
resources\android\splash\drawable-port-xxxhdpi-screen.png (218983, 2020-02-02)
resources\icon.png (173024, 2020-02-02)
... ...

Welcome to ionic-news-app ‘

> A news app built with Ionic/Angular and using Wordpress REST API
## Install ```sh npm install ``` ## Configuration Open the `articles.ts` file inside `src/app/providers` folder. ```ts baseUrl: string = ""; // wp-api url ``` Enter the value of your wordpress website base url in the following format : `/wp-json/wp/v2/`. Then on the same file, replace the `loadCategories` method by returning the categories you want to display in the app. ```ts return [{ "id": 0, "name": "Accueil", "index": 0 }] ``` Your can get your wordpress blog category list by browsing this url : `/wp-json/wp/v2/categories/`. ## Usage **Build** ```sh npm run ionic:build ``` **Run** ```sh npm run ionic:serve ``` ## Author ‘¤ **bacarybruno** * Github: [@bacarybruno](https://github.com/bacarybruno) * LinkedIn: [@bacarybruno](https://linkedin.com/in/bacarybruno) ## Show your support Give a if this project helped you! ## “ License Copyright 2017 [bacarybruno](https://github.com/bacarybruno).
*** _This README was generated with ¤ by [readme-md-generator](https://github.com/kefranabg/readme-md-generator)_

近期下载者

相关文件


收藏者