![](https://img-blog.csdnimg.cn/20201014180756930.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
服务端渲染
卤鸽子
一个只会写bug的卤鸽子
展开
-
nuxt.config.js的详细配置,以及部署情况
export default { transition: 'page', layoutTransition: 'page', loading: { color: '#176ce6', height: '2px', failedColor: 'red', duration: 5000, throttle: 200 }, router: { middleware: 'auth' }, server: { port: 5555,原创 2021-03-03 14:57:30 · 2305 阅读 · 1 评论 -
nuxt的使用和一些问题
/** cookie 安装 yarn: yarn add cookie-universal-nuxt npm: npm i --save cookie-universal-nuxt */ { modules: [ ['cookie-universal-nuxt', { parseJSON: false }] ] } //store里使用 this.app.$cookies.set('token', res.login_name)原创 2021-03-03 14:52:05 · 313 阅读 · 1 评论