Giter Site home page Giter Site logo

ui5-vitepress's Introduction

UI5 VitePress

Pre-configured “Ready to Run” solution to get started immediately with VitePress and UI5.

Live Demo (see .github/workflows/deploy.yml)

Fire and Water Design System

Project Screenshot

Features

  • Vue based Single-File Components (SFC)
  • UI5 Web Components implementing the Fiori design system.
  • PostCSS preprocessor transforming CSS with plugins:
    • Tailwind CSS enabling a utility-first driven design system.
    • Autoprefixer adding vendor prefixes to CSS rules.
    • cssnano optimizing for production with modern CSS compression.
  • PlantUML creating diagrams from plain text.
  • Deployment
    • GitHub Pages using actions
    • BTP using manifest

Installation

  1. Clone the repo
    git clone https://github.com/hschaefer123/ui5-vitepress.git
  2. Install NPM packages
    npm install
  3. Start dev server using
    npm run dev

The dev server automatically opens a browser window at http://localhost:5173.

Everything else can be found in the application.

License

Distributed under the MIT License. See LICENSE for more information.

Contact

Holger Schäfer - @hschaefer123

UDINA Business Technology Platform: https://btp.udina.de

ui5-vitepress's People

Contributors

hschaefer123 avatar

Stargazers

Geert-Jan Klaps avatar  avatar Florian Vogt avatar Rajdeep Bhuva avatar Rafael Caziraghi avatar Peter Muessig avatar Marco Beier avatar Marian Zeis avatar

Watchers

 avatar  avatar

Forkers

flovogt

ui5-vitepress's Issues

Error when executing `npm run dev`

Hi @hschaefer123,
I have cloned the repository and installed the npm dependencies as described in the readme.
However, I get following error message:

▶ npm run dev

> [email protected] dev
> vitepress --open

failed to start server. error:
Error: [shikiji] Language `cds` not found, you may need to load it first
    at Object.getLangGrammar (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:668:13)
    at codeToThemedTokens (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4498:28)
    at file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4625:26
    at Array.map (<anonymous>)
    at codeToTokensWithThemes (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4625:15)
    at codeToHast (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4684:25)
    at codeToHtml (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4882:23)
    at Object.codeToHtml (file:///Users/myuser/git/ui5-vitepress/node_modules/shikiji/dist/core.mjs:4894:37)
    at Object.highlight (file:///Users/myuser/git/ui5-vitepress/node_modules/vitepress/dist/node/serve-ao1ovSY4.js:46663:37)
    at default_rules.fence (file:///Users/myuser/git/ui5-vitepress/node_modules/vitepress/dist/node/serve-ao1ovSY4.js:34803:27)

Can you confirm that this happens also on your side?

I tried it with node version (18 and 20).

Failing CI regarding GH Actions

I think the CI currently fails on the default branch because gh pages is not set to "GH Actions" in the settings.

Screenshot 2023-11-30 at 11 18 08

On my fork it runs fine

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.