Docker Container

实战 Web 应用容器化

这篇文章会介绍如何将后端、前端和网关通通使用 Docker 容器进行运行,并最终使用 DockerCompose 进行容器编排。 ...

February 27, 2021 · 5 min · K8sCat

NuxtJS 自定义 layout

NuxtJS 的 SPA 项目怎么处理不同的布局? # Use the layout key in your pages components to define which layout to use: # In this example, Nuxt.js will include the layouts/blog.vue file as a layout for this page component. export default { layout: 'blog', // OR layout (context) { return 'blog' } } ...

November 2, 2019 · 1 min · K8sCat

WebStorm 提示 iView 标签错误

用 WebStorm 写 iView 项目时, 满屏报红, 提示: ESLint: Parsing error: x-invalid-end-tag.(vue/no-parsing-error), 如何解决? 在 eslintrc.js 中添加下面内容: rules: { "vue/no-parsing-error": [2, { "x-invalid-end-tag": false }] } 参考: https://github.com/iview/iview/issues/2828 ...

September 30, 2019 · 1 min · K8sCat

Cookies 跨域共享实现单点登录

September 25, 2019 · 0 min · K8sCat

iView select 表单验证踩坑

September 23, 2019 · 0 min · K8sCat