Skip to content

hky0715/zcp-demo

 
 

Repository files navigation

Kubernetes Showcase

Nuxt.js project

Build Setup

# install dependencies
$ yarn install

# serve with hot reload at localhost:3000
$ yarn run dev

# build for production and launch server
$ yarn run build
$ yarn start

# generate static project
$ npm run generate

For detailed explanation on how things work, checkout the Nuxt.js docs.

Dependencies

Material Design Lite (https://getmdl.io/)

  // (not working) yarn add material-design-lite --dev
  head: {
    title: 'Demo',
    ...
    link: [
      { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
      { rel: 'stylesheet', href: 'https://fonts.googleapis.com/icon?family=Material+Icons' },
      { rel: 'stylesheet', href: 'https://code.getmdl.io/1.3.0/material.indigo-pink.min.css' },
      { rel: 'stylesheet', type: 'text/css',  href: 'http://fonts.googleapis.com/css?family=Roboto:300,400,500,700' }
    ],
    script: [
      { src: 'https://code.getmdl.io/1.3.0/material.min.js' }
    ]
  },
$ yarn add axios --dev
  • Support to load ServiceAccount and KUBECONFIG
$ yarn add @kubernetes/client-node --dev
  serverMiddleware: [
    '~/api/common.js',
    { path: '/api/k8s', handler: '~/api/k8s.js' },
  ],

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Vue 70.3%
  • JavaScript 28.0%
  • Dockerfile 1.7%