Posted at 08:15h
in
Programming,
VueJS
I get some interesting requests from my clients and some of them are head-scratchers. The beauty of Vue.js is that you can implement almost any behavior and do it fairly simply.
In this case, the client wanted to swap in a different Act-On form via an...
Posted at 21:14h
in
Programming,
VueJS
Here is what I did to prevent a form submit based on a value. In this case, I'm checking to make sure a value is not blank.
<form id="myform" method="post" v-on:submit="onSubmit" action="/path/to/form-handler">
methods: {
onSubmit: function(e) {
...
Posted at 17:23h
in
Programming,
VueJS
I recently needed to pull in a third party form into a page where I was using Vue.js. The form is displayed in an iframe and the adjacent content needed to react to submitting of the form, in this case a header needed to disappear....
Vue.js promotes itself as a progressive framework, meaning that you can start small and use as little or as much as you need. I’ve been working on Vue.js projects at both ends, some full fledged projects using vuex, components, and vue-cli, and some projects which...
I started playing with vue.js and used vue-cli to scaffold a new project. It all worked well until I tried npm run build. Then I got the following error:
ERROR in build.js from UglifyJs
SyntaxError: Unexpected token punc «(», expected punc «:» [build.js:8643,6]
It took me a while...