CORS header ‘Access-Control-Allow-Origin’ List multiple domains

The Access-Control-Allow-Origin response header indicates whether the response can be shared with requesting code from the given origin. More than one Access-Control-Allow-Origin header was sent by the server. This isn’t allowed. The possible solution could be, If you have access to the server you can change your implementation to echo back an origin in the Access-Control-Allow-Origin header. You cannot send back a […]

Read More

Method “computed” has type “object” in the component definition. Did you reference the function correctly?

Method “computed” has type “object” in the component definition. Did you reference the function correctly? If you are getting this error from a vue js component, one of the reason might be due to the below scenario. You are trying to place a compute property inside a methods section in vue js. Hope this helps […]

Read More
Vue.js Installation

Vue.js Installation

How to install Vue.js using npm Steps to follow!Open the terminal window.Create a new folder & Install Vue CLI in itCreate a new projectGo to the project and start the serverAccess the default Vue js boilerplate application Let’s see the steps in detail! 1. Create a new folder to install vue/cli and go inside the […]

Read More

Error: No PostCSS Config found – Vue Js

When I installed a new theme in Vuejs I was getting an error “Module build failed: Error: No PostCSS Config found in: error in ./src/assets/css/font-awesome.min.csserror in ./node_modules/bootstrap/dist/css/bootstrap.csserror in ./node_modules/bootstrap-vue/dist/bootstrap-vue.css Module build failed: Error: No PostCSS Config found in: /Users/tovo_theme/path/node_modules/postcss-load-config/src/index.js:91:15 Solution Create the file postcss.config.js in the root directoy Add the below content in the postcss.config.js […]

Read More