Skip to content

Instantly share code, notes, and snippets.

@ankitsinghaniyaz
Created November 17, 2017 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ankitsinghaniyaz/eb805a8d2d6cfcb79f6e561fe993bdf9 to your computer and use it in GitHub Desktop.
Save ankitsinghaniyaz/eb805a8d2d6cfcb79f6e561fe993bdf9 to your computer and use it in GitHub Desktop.
Vue generator generated files
<div id="posts-index-view">
<posts-index-view>
</posts-index-view>
</div>
<%= stylesheet_pack_tag 'posts/index' %>
<%= javascript_pack_tag 'posts/index' %>
import Vue from 'vue/dist/vue.esm';
import PostsIndex from 'views/posts/index';
new Vue({
el: '#posts-index-view',
components: {
'posts-index-view': PostsIndex
}
});
<template>
</template>
<script>
export default {
}
</script>
<style scoped>
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment