Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
vuerails application layout before vue only webpack
<!DOCTYPE html>
<%= csrf_meta_tags %>
<%= csp_meta_tag %>
<%= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_include_tag 'application', 'data-turbolinks-track': 'reload' %>
<!-- Webpack assets -->
<%= stylesheet_pack_tag 'application', media: 'all', 'data-turbolinks-track': 'reload' %>
<%= javascript_pack_tag 'application', 'data-turbolinks-track': 'reload' %>
<!-- end -->
html, body {
height: 100%;
<div class="relative block h-full">
<div class="relative flex items-center justify-center h-full">
<div class="block login-box-container w-5/6 md:w-3/4 xl:w-1/4 ">
<%= yield %>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.