warriorbrian / nuxt-blog Goto Github PK
View Code? Open in Web Editor NEW基于Nuxt.js服务器渲染(SSR)搭建的个人博客系统
Home Page: http://www.brianlee.cn
License: MIT License
基于Nuxt.js服务器渲染(SSR)搭建的个人博客系统
Home Page: http://www.brianlee.cn
License: MIT License
图片上传后 在删除,图片链接依然存在且指向空的源文件地址。
backpack dev
Module build failed: Error: Plugin/Preset files are not allowed to export objects, only functions. In E:\dir\nuxt-blog\nuxt\node_modules\backpack-core\babel.js at createDescriptor (E:\dir\nuxt-blog\nuxt\node_modules\@babel\core\lib\config\config-descriptors.js:178:11)
另外题外问个问题,为什么我自己建的demo,asyncData获取数据在组件渲染之后执行,数据没有注入到html里面
<div id="nuxt-loading" aria-live="polite" role="status"> <div>Loading...</div> </div>
nuxt和koa都是用在同一个端口3000,部署后,会出现接口找不到或者跨域的问题,请问Nginx上要怎么配置吗?
比如项目路径是//服务端ip/pro/
没有做后端的时候页面是可以正常访问的。
做了后端之后,接口地址是服务端ip/api/
但是总404.
我感觉应该是我nginx配置的问题:
部分Nginx配置如下:
# 项目配置
location /pro/ {
proxy_pass http://127.0.0.1:3000;
# 省略其他
}
# 接口的原来是没配的,发现没作用后配的,可实际也没啥作用= =
location /api/ {
proxy_pass http://127.0.0.1:3000/api/;
}
还望指教 谢谢!
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.