HGiXo Posted August 26, 2019 Share Posted August 26, 2019 Hello friends! I want to use vue in prestashop module but I don't know how to start a project with compiling vue to my admin template file. Look at my project tree here: Vue app is in root directory and I want it use in my /views/templates/admin/configure.tpl file. I tried to include in confgure.tps main.js from vue but shows me error "Uncaught SyntaxError: Unexpected identifier". Is it possible to just run serving vue and get hot reload in my presta module? Link to comment Share on other sites More sharing options...
HGiXo Posted August 26, 2019 Author Share Posted August 26, 2019 Thanks for reply, Include it as a normal js file works but i want to create full vue app ( with templates, components etc ) in my project and make it hot reload ( refresh app whenever changes are made ) Link to comment Share on other sites More sharing options...
HGiXo Posted August 26, 2019 Author Share Posted August 26, 2019 Hello, in presta world I’m beginner - this is my first module. About vue I’m familiar but last projects was stand-alone apps not like this, integrated in something. Link to comment Share on other sites More sharing options...
HGiXo Posted August 26, 2019 Author Share Posted August 26, 2019 Well, this is opportunity to learn. When should I take experience in presta if not in cases like this? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now