Comments (2)
Trying again it seems I was mistaken. Vue isn't even loaded when I click edit. I use the Vue chrome tool and try and click on <Root>
and get the following.
Uncaught TypeError: Cannot read property '__VUE_DEVTOOLS_UID__' of undefined
at backend.js:1
at t.a.v.on.e (backend.js:1)
at t.a.n.emit (backend.js:1)
at e.listen.e (backend.js:1)
at n (backend.js:1)
This is without using a Mixin.
from vue-turbolinks.
Okay I fixed it. I was putting the javascript pack tag in the page and had this issue. Putting the following in my application template header fixed all my problems.
<%= javascript_pack_tag "repositories" if
controller_name == "repositories" &&
(action_name == "edit" || action_name == "new")
%>
I really don't want to fill up my header with all this logic for per page JS packs. I'll have to think of something to refactor it to it.
I'm not using it as a Mixin.
from vue-turbolinks.
Related Issues (20)
- Vue app called to many times on multiple page load HOT 4
- First visit doesn't load vue app HOT 4
- Tried Using with Vue Router Not Compatible... HOT 3
- Confusion in README instructions HOT 5
- Component is kept on cached page until next visit HOT 6
- Use turbolinks:before-cache event instead of turbolinks:visit HOT 15
- matfish2/vue-tables-2 + vuex = TypeError: Cannot set property 'outerHTML' of undefined HOT 5
- how to use this with a message bus? HOT 4
- Navigation with browser back/forward buttons no longer works in 2.0.2 HOT 2
- Issue with Vue Turbolinks and Laravel Spark Install HOT 2
- How can I use vue-turbolinks with stimulus? HOT 1
- Blinking HOT 9
- Document how to set a custom event to destroy the components on HOT 2
- Issue with components that need to access $el.parentNode after component destruction HOT 1
- Issues With Back Button Using Turbolinks With Colcade HOT 5
- Errors when using vue-turbolinks with separate js files HOT 5
- Error in destroyed hook when closing vuetify v-dialog HOT 7
- A note for people experiencing NoModificationAllowedError: Failed to set the 'outerHTML' property on 'Element' HOT 1
- Buefy Snackbar and Toast shown only first time HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vue-turbolinks.