Skip to content
Server-rendered Vue.js app deployed to Cloudflare Workers
JavaScript Vue
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
public
src
vendor/vue-server-renderer
workers-site
.browserslistrc
.eslintignore
.eslintrc.js
.gitignore
.prettierrc.json
LICENSE
README.md
babel.config.js
client.config.js
package-lock.json
package.json
postcss.config.js
vue.config.js
worker.config.js
wrangler.toml

README.md

vue-ssr-cloudflare-workers-template

Uses a modified vue-server-renderer/basic.js, for changes see this commit.

Project setup

npm install -g @cloudflare/wrangler
npm install

Add your account_id to wrangler.toml. You can find your account_id on the right sidebar of the Workers or Overview Dashboard. Note: You may need to scroll down! For more details on finding your account_id click here.

Preview the project

npm run preview

Publish to workers.dev

npm run publish
You can’t perform that action at this time.