Giter VIP home page Giter VIP logo

glorious-plugin-framework-vuejs-rest's Introduction

Glorious Plugin Framework + VUEJS + REST

A plugin framework for GloriousMotive using VUEJS + REST API with WordPress A WordPress boilerplate plugin with Vue.js

A simple boilerplate plugin for WordPress using vue js

How to use

  • Clone this repository on your local plugin folder
  • Delete the Vendor/Composer folder
  • Delete the Codes from assets/js - all javascript files
  • SEARCH for `` and Replace with your Plugin Variables. Follow the Case Styling.
  • Run Command composer dump-autoload
  • Run command npm i to install node modules.

Now just setup for your own plugin, it's very easy using node auto command.

Step to make your own plugin

  • Open with an IDE (Vscode, sublime, PhpStorm etc)

  • Change all the plugin_name to Your-Plugin-Name

  • Change all the PLUGINNAME to YOURPLUGINNAME (Upper case)

  • Change all the PluginName to YourPluginName (Upper Camel Case)

  • Change all the Plugin_Name to your_plugin_name

  • Change all the textdomain to yourtextdomain

All done have fun

Now your plugin is ready to use with a standard format

You can write vue.js codes inside /src folder

Do any customization you need

For more details please check the package.json file

After Development Production

When your Plugin development is complete and you want to use it for production. Then run npm run production after that you can delete some files which are already build.

Files/Folder you should delete on production:

  • node modules
  • src
  • package-lock.json

glorious-plugin-framework-vuejs-rest's People

Contributors

gloriousthemes avatar

Watchers

 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.