Skip to content
This repository has been archived by the owner on May 24, 2024. It is now read-only.

Latest commit

 

History

History
83 lines (70 loc) · 2.58 KB

quickstart.md

File metadata and controls

83 lines (70 loc) · 2.58 KB

Getting started

NOTE: At some point in the future, this repository will be migrated to our main repository.

Built With

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated. Please use semantic commit messages as described in here.

If you have a suggestion that would make this better, please open an issue with the tag "enhancement", fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Open an issue with the tag "enhancement"
  2. Fork the Project
  3. Create your Feature Branch (git checkout -b feat/AmazingFeature)
  4. Commit your Changes (git commit -m 'Add some AmazingFeature')
  5. Push to the Branch (git push origin feat/AmazingFeature)
  6. Open a Pull Request

Project structure

.
├── examples
├── package.json
├── tsconfig.json
├── resources
│   └── css
│       └── reset.css
└── src
    ├── extension.ts
    ├── JsonFormsBuilder.ts
    ├── lib
    ├── shared      // between 'backend' and 'frontend' (= webview)
    ├── utils
    ├── controller
    ├── components
    └── web
        ├── postcss.config.js
        ├── tsconfig.json
        ├── vite.config.js
        └── app
            ├── mant.ts
            ├── App.vue
            ├── components
            ├── composables
            └── css

Quickstart

git clone https://github.com/Miragon/miranum-json-forms.git
cd miranum-json-forms
npm install
npm run build
code .

Open Extension Host with F5 and open the example folder.

Development

npm run esbuild-watch

The web folder contains the necessary files for building the webapp we use for the webview.
So it is possible to develop the webview detached from the extension.
For bundling the webview we use vite.
During development use npm run web-dev for HMR.

NOTE: You may have to try to build the webview multiple times because Tailwind gives an error message that a css class is missing.