Search the Community
Showing results for tags 'vuejs'.
I'm starting a project using vuejs and ProcessWire. I'm running into a number of questions and am hoping someone has gone down this path before. 1. I'm not sure which way to go: create a vuejs single-page-app or just create components and serve them from PW. 2. Vuejs components naturally tend to contain UI text - how do you handle about localization in that context. I like PW's localization capabilities and would prefer not to have two different systems. Is there some way to have components load all their user-visible text at runtime? I guess PW could create Vue.js apps that pass all the props to a given component when it is invoked, but that seems a bit messy. 3. Should I think about server-side-rendering or serving webpack units to the client? 4. For development, I am using webpack-dev-server and proxy API calls to another server (initially express as a mock but it will be PW) in webpack.config.js. Does this make sense? As you can tell, I'm just getting started on this so any help is appreciated.