Join devRant
Do all the things like
				++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
				Sign Up
			Pipeless API
 
				From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
				Learn More
			Related Rants





 Found something true as 1 == 1
Found something true as 1 == 1
 Code I wrote: 15kb
NPM Modules: 198Mb
Code I wrote: 15kb
NPM Modules: 198Mb
 This is where US's bandwith is going
This is where US's bandwith is going
Just wrote my own webpack plugin for VueJS.
In serverless application there isn't a good way to pre render a single page web application as there is no server to do this task.
What we can do is use serverside rendering with webpack to locally (or in CI) generate the static HTML markup and include them in a template file like EJS.
In that way, the client browsers would not have to wait for the initial render and the search engines will also be happy.
This feels good! Time to upload it as a npm package 😇
undefined
npm
plugin
vue
webpack