| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
This is a basic starter project for a prerendered Vue frontend with a Netlify lambda function backend.
The Vue app is prerendered for improved SEO - you can learn more about server-side rendering and prerendering with Vue here. Includes vue-router, vuex, axios, the vue-cli-plugin-netlify-lambda, and the prerender-spa-plugin.
NOTE: this project can only be deployed via Netlify with continuous deployment enabled.
yarn install
yarn run serve
yarn run build
yarn run test
yarn run lint
NOTE: for prerendering to work correctly, routes for those pages must be added to vue.config.js:
module.exports = {
configureWebpack: {
plugins: [
new PrerenderSPAPlugin({
staticDir: path.join(__dirname, 'dist'),
routes: [
'/',
'/about',
],
}),
],
},
};| Back | FazBrowse Home | New Git URL |