ricoberger / go-vue-starter Goto Github PK
View Code? Open in Web Editor NEWgo-vue-starter demonstrates the usage of Go and Vue.js
License: MIT License
go-vue-starter demonstrates the usage of Go and Vue.js
License: MIT License
hello there, maybe i am being stupid, but where is the cd go-vue-starter/app
DIR it is not in the zip or in the project, but is referenced in the instructions...
windows X,
go1.13.10 windows/amd64
PowerShell:
PS E:\GitHub\go-vue-starter> make build
esc -o pkg/static/static.go -pkg static web/vue.js/dist web/mail
Stucked here. Waited for 5 mins and nothing happen. No files like bin/starter show in folder.
I successfully set the project up on window 10, and requests were definitely working fine - I have signed up, confirmed my email and logged in.
After making some changes to the form layout (no request changes) - I now get an annoying CORS error:
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://localhost:8081/api/v1/account. (Reason: CORS request did not succeed).
I have no idea what I could have changed to cause this, but it was al Vue code, where the request now looks like this:
private saveProfile(callbacks: any) {
let tmpInfo = '';
if (this.email !== this.user.email) {
tmpInfo = 'Please verify your new email address';
}
callbacks.preSave();
this.save({name: this.name, email: this.email}).then(() => {
this.info = tmpInfo;
callbacks.postSave();
}).catch((err: any) => {
callbacks.onError(err.message);
});
}
Any idea what I should be checking here? It seems to have happened out of nowhere
Hi there, I encounter an error when try "make build".
The error info in my console is:
esc -o pkg/static/static.go -pkg static web/vue.js/dist web/mail
make: esc: No such file or directory
make: *** [static] Error 1
I have run "go get -u github.com/mjibson/esc" before "make build". I have no idea what's wrong.
System: OS X 10.15.3
Go Version: 1.13
Thanks a lot.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.