Skip to content

A wordpress theme so that you can write only Vue.js to make wordpress website

Notifications You must be signed in to change notification settings

maemaemae3/vue-wordpress-theme-simple-starter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Readme for japanese

Vue Wordpress simple starter theme

A WordPress theme written in Vue.js for developers who wants to:

  • develop WordPress with Vue.js only
  • use wordpress as like a headless CMS
  • make frontend / backend on the same host
  • develop website blazing fast in local using Hot reloading

This theme is inspired and forked from VueWordPress Theme Starter, make it simpler and some packages upgraded.

features

Getting started

  1. make your local wordpress environment.
    there are many tools like local, bitnami, XAMPP, and so on.

  2. Clone the repo inside to your wp-content/themes/ directory.

  3. run npm ci

  4. Copy .env.sample to .env and edit settings.
    Edit VITE_WEBSITE_NAME to your site name. It is used for meta tag in yor site.
    If you want to change directory name, please edit THEME_DIRECTORY_NAME.

  5. Navigate to the theme directory in your terminal and run npm install

  6. run npm run dev for development/hot reloading

  7. Activate the theme in your WordPress settings.

  8. Update your permalink settings (Settings -> Permalinks) to be "Day and name".
    You can change settings by editing router/index.js.

  9. when website is ready for deployment, run npm run build and deploy theme-dir to your wp-content/themes/ directory in your server.
    (Don't forget to activate the theme!)

  10. That's it!

References

About

A wordpress theme so that you can write only Vue.js to make wordpress website

Resources

Stars

Watchers

Forks

Packages

No packages published