Giter Club home page Giter Club logo

vuewpress's Introduction

logo

VueWPress

中文简述 ~ VueWPress

Prerequisites

  1. First, You must Star this repository. (* ̄︶ ̄)
  1. Need to install and running WordPress above version 4.4 ,and open REST API.
  1. modify src/utils/api.js file, change youre config. 「E.g: site url, site language, site protocol etc.」
  1. After vueWPress 0.23 release, you need to install a plugin JWT Authentication for WP-API, Can be downloaded via background plugin search or check here

4.1 Modify the wp-config.php file in Wordpress root

4.1.2 Find: define('NONCE_SALT'

4.1.3 Add the following to the line under define('NONCE_SALT'

define('JWT_AUTH_SECRET_KEY', 'you-64-secret-key');
#the random key here https://api.wordpress.org/secret-key/1.1/salt/
define('JWT_AUTH_CORS_ENABLE', true);

4.1.4 you-64-secret-key Is a 64-bit random key, more: check here

Build Setup

# install dependencies
npm install

# serve with hot reload at localhost:8088
npm run start

#  build for development
npm run dev

# build for production
npm run build

What Can I Do ?

  1. Show home on the home page. jump 「ver: 0.1」
  1. Show post on the article page. jump 「ver: 0.1」
  1. Show topic on the topic page. jump 「ver: 0.12」
  1. Show topic detail on the detail page. 「ver: 0.12」
  1. Show tags on the tags page. jump 「ver: 0.16」
  1. Show tag detail on the detail page. 「ver: 0.16」
  1. Show All media on the gallery page. 「ver: 0.16」
  1. Show All comment on the comments page. 「ver: 0.19」
  1. Show article on the articles page. jump 「ver: 0.23」
  1. Added comments on article page. jump 「ver: 0.31」
  1. Increase article publishing capabilities. jump 「ver: 0.31」
  1. Added user center to display nicknames, avatars, and logouts. jump 「ver: 0.31」
  1. Added login and registration functions. jump 「ver: 0.31」
  1. More features are in development ...

Preview Me

Home

home

Back Up


Articles

home

Back Up


Article

home

Back Up


Topic

topic

Back Up


Tags

page

Back Up


Member

page

Back Up


Login

page

Back Up


Post

page

Back Up


Comment

page

Back Up


vuewpress's People

Contributors

crlang avatar

Watchers

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