Skip to content

Commit

Permalink
chore: update
Browse files Browse the repository at this point in the history
  • Loading branch information
akelch committed Sep 26, 2023
1 parent 0f22b3f commit 3aedaae
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 40 deletions.
45 changes: 21 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,30 +1,27 @@
# viur-vuevi-wip
<div align="center">
<img src="https://github.com/viur-framework/viur-artwork/raw/main/icons/icon-admin.svg" height="196" alt="A hexagonal logo of the vue components" title="Admin">
<h1>ViUR Vue Components</h1>
<img alt="latest Version" title="Release" src="https://img.shields.io/github/v/release/viur-framework/vi-admin">
<a href="LICENSE">
<img src="https://img.shields.io/github/license/viur-framework/vi-admin" alt="Badge displaying the license" title="License badge">
</a>
<br>
A library for communication with the ViUR Core
</div>

## setup
`cd vi-base`
## What does it do?
Implementation of a new ViUR administration tool using Vue.js and Shoelace

`npm install`

`cd vi`
## Installation
```bash
$ viur install admin
```

## run
Switch to vi or vi-base folder and run `npm run dev`
## License

## info
to use google login add your client id tp App.vue file.
DO NOT COMMIT THIS CLIENT ID
Copyright © 2023 by Mausbrand Informationssysteme GmbH.<br>
Mausbrand and ViUR are registered trademarks of Mausbrand Informationssysteme GmbH.

###
you need to add this to your main.py
```import os
from viur.core import request
from viur.core.utils import currentRequest
if os.environ['GAE_ENV'] == "localdev":
"Whitelist vueJs Frontend server"
def preprocessRequestHandler(path):
currentRequest.get().response.headers["Access-Control-Allow-Origin"] = "http://localhost:8081"
currentRequest.get().response.headers["Access-Control-Allow-Credentials"] = "true"
return (path)
conf["viur.requestPreprocessor"] = preprocessRequestHandler```
This project is free software under the MIT license.<br>
Please see the LICENSE file for details.
24 changes: 12 additions & 12 deletions admin/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions admin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
"@ckeditor/ckeditor5-vue": "^5.1.0",
"@viur/ckeditor5-build-classic": "^1.0.1-v38.0.1",
"@viur/shoelace": "^0.6.2-v2.8.0",
"@viur/vue-components": "^1.0.14",
"@viur/vue-utils": "^1.0.3",
"@viur/vue-components": "^1.0.17",
"@viur/vue-utils": "^1.0.4",
"pinia": "^2.1.4",
"pinia-plugin-persistedstate": "^3.1.0",
"vue": "^3.3.4",
Expand Down

0 comments on commit 3aedaae

Please sign in to comment.