A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/steventhanna/vue-sails-template below:

steventhanna/vue-sails-template: Client-Side Vue.js with Sails.js Template

Vue.js and Sails.js Template

Regrettably, this repo will no longer be maintained. These days, I prefer to host a frontend on a CDN (such as Netlfiy or Cloudfront) and have it interact with my Sails backend instead of budnling evrything together inside Sails.js.

This project serves as a template for new Sails and Client Side Vue projects. It uses Webpack for compiling and serving the frontend.

This project could not have been made possible without the great work of Julian Claus and his repo vue-sails-example, in which this repo pulls heavily from.

Clone the project.

Both the backend and the frontend contain separate package.json files. To install everything using one command, run:

One Command:

Or:

Launch the sails server

Launch Vue

cd frontend && npm run dev

Go to http://localhost:8080

cd frontend && npm run build
cd ../backend && NODE_ENV=production node app.js
More complete information

See vue-sails-example.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4