Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
@porsche-design-system/components-vue
Advanced tools
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG. Visit the Porsche Design System to learn more.
Run the following command using npm:
npm install @porsche-design-system/components-vue
If you prefer Yarn, use the following command instead:
yarn add @porsche-design-system/components-vue
After adding the @porsche-design-system/components-vue
package to your project, you've to extend your standard vue
setup by the PorscheDesignSystemProvider
by adding it to your App.vue
file.
// App.vue
<script setup lang="ts">
import { RouterLink, RouterView } from 'vue-router';
import { PorscheDesignSystemProvider, PLinkPure } from '@porsche-design-system/components-vue';
</script>
<template>
<PorscheDesignSystemProvider>
<header>
<nav>
<PLinkPure>
<RouterLink to="/">Home</RouterLink>
</PLinkPure>
<PLinkPure>
<RouterLink to="/somePage">Some Page</RouterLink>
</PLinkPure>
</nav>
</header>
<div id="app">
<RouterView />
</div>
</PorscheDesignSystemProvider>
</template>
You can also use the PorscheDesignSystemPlugin
to extend your vue setup.
// main.ts
import { createApp } from 'vue';
import { createPorscheDesignSystem } from '@porsche-design-system/components-vue';
const app = createApp(App);
app.use(createPorscheDesignSystem({ prefix: 'my-prefix' }));
app.mount('#app');
The usePorscheDesignSystemPlugin
composable provides access to the PorscheDesignSystemPlugin
context.
import { usePorscheDesignSystemPlugin } from '@porsche-design-system/components-vue';
const { isPorscheDesignSystemLoaded, componentsReady } = usePorscheDesignSystemPlugin();
Our goal is to provide easy-to-use and well-documented components so that developers don’t need to worry about the implementation but can focus on easily creating qualitative and consistent digital Porsche experiences. We ensure that our components are made for everyone and meet latest quality standards of usability, accessibility, performance and compatibility. In some points the components are built restrictive to define consistent standards for diverse Porsche applications but ensure enough flexibility to meet different context requirements.
FAQs
Porsche Design System is a component library designed to help developers create the best experience for software or services distributed by Dr. Ing. h.c. F. Porsche AG.
The npm package @porsche-design-system/components-vue receives a total of 109 weekly downloads. As such, @porsche-design-system/components-vue popularity was classified as not popular.
We found that @porsche-design-system/components-vue demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.