express-vue / express-vue

Vue rendering engine for Express.js. Use .Vue files as templates using streams

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ReadMe Errors

peterallan16 opened this issue · comments

Description of Issue

Documentation states that rootPath should be used in vueOptions but that does not work. Later in the ReadMe it says to use pagesPath and that does in fact work. In addition, under Usage this snippet of code has expressVueOptions which is not the same as vueOptions used in every other example.

expressVue.use(app, expressVueOptions).then(() => {
//the rest of your express routes.
});

Stack Trace / Console Log

Problem area: https://github.com/express-vue/express-vue#usage

Here:
https://github.com/express-vue/express-vue#sailsjs-support

Additional Comments

Sorry, this is my first time submitting an issue so please pardon any mistakes or errors made on my part

It appears that a lot of the broken parts of the ReadMe are corrected in the Migration to Webpack Renderer. This should be incorporated and fixed in the rest of the doc

@peterallan16 I'm struggling to get this to work due to the gaps in documentation, were you able to successfully get the package working?