golang-vuejs-starter-kit
golang-vuejs-starter-kit copied to clipboard
This is a starter kit for goLang and vuejs which can be cloned to start your next project
golang-vuejs-starter-kit
This is a starter kit that can be cloned to get started with golang and vuejs.
Static files can be served out of the dist directory. The golang server will be built into src/goLang/.bin. Be sure to edit the makefile to suite your needs.
This project is a slight modification of the standard vue-cli project built with
vue init webpack myProject
with no linting or testing options used.
Build Setup
# install dependencies
npm install
# serve with hot reload at localhost:8080; goLang server will run at localhost:8082
npm run dev
# build for production with minification
npm run build
# run unit tests
npm run unit
# run e2e tests
npm run e2e
# run all tests
npm test
For detailed explanation on how things work, checkout the guide and docs for vue-loader.