Skip to content
This repository has been archived by the owner on Jan 17, 2019. It is now read-only.

This repo is outdated. For the latest development, please refer to the Vue on Rails project

License

Notifications You must be signed in to change notification settings

ytbryan/webpacker-vue-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

You may wish to know that I am writing Vue on Rails book with Richard LaFranchi

Webpacker-Vue-Examples

Some examples of Rails 5.1.x app using Vue 2.x.

  1. Counter-vuex
  2. Shopping-cart-vuex
  3. Hackernews
  4. Prerender-spa-plugin
  5. Vue Todo with Rails controllers
  6. Vue-router example

Getting started

git clone ytbryan/webpacker-vue-examples cd webpacker-vue-examples bundle install yarn install

Counter-vuex

Demonstrates simple vuex

Shopping-cart-vuex

Demonstrates vuex

Hackernews

Demonstrates vue-router, vuex, server-render

Prerender-spa-plugin

Demonstrates prerendering with vue-router. Good for SEO and easier than server rendered solution.

Vue Todo with Rails controllers

Simple Todo built using Vue with Rails controller.

Vue router

Demonstrates the power of a vue-router

Motivation

This repo is my exploration of Vue on Ruby on Rails via Webpacker. It serves as a guide/reminder for myself to see Vue's concept on Rails. It also open up opportunities for community contribution to see how Vue can be structured on Rails.

Contribution

  1. Send a pull request here.

  2. Send an issue here.

License

MIT

About

This repo is outdated. For the latest development, please refer to the Vue on Rails project

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published