Files
kops-arm64/app
2022-06-17 13:11:09 +02:00
..
2017-01-14 01:56:27 +01:00
2022-06-17 13:11:09 +02:00
2022-06-17 13:11:09 +02:00
2018-12-27 11:11:26 +01:00
2017-05-11 22:47:16 +02:00

This directory contains the EcmaScript frontend code of Kubernetes Operational View and is only needed during build time.

The JavaScript application bundle (webpack) will be generated to ``kube_ops_view/static/build/app*.js`` by running:

.. code-block:: bash

    $ npm install
    $ npm run build

Frontend development is supported by watching the source code and continuously recompiling the webpack:

.. code-block:: bash

    $ npm start

Windows uses slightly different scripts. This will build the JavaScript app in Windows:

.. code-block:: powershell

    $ npm install
    $ npm run buildwin

This will start the code watch and rebuild script in Windows:

.. code-block:: powershell

    $ npm run startwin