
Security News
Axios Supply Chain Attack Reaches OpenAI macOS Signing Pipeline, Forces Certificate Rotation
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.
@tlylt/vue-tree
Advanced tools
A simple Vue component to beautify tree-like visualizations.
Install the package via npm:
npm install @tlylt/vue-tree
or yarn:
yarn add @tlylt/vue-tree
Import and register the component in your Vue application:
import { createApp } from 'vue';
import App from './App.vue';
import { VueTree } from '@tlylt/vue-tree';
const app = createApp(App);
app.use(VueTree);
app.mount('#app');
Use indentation (2 spaces) to indicate the level of nesting:
<template>
<VueTree>
C:/course/
textbook/
index.md
index.md
reading.md
site.json
</VueTree>
</template>
Expected:
C:/course/
├── textbook/
│ └── index.md
├── index.md
├── reading.md
└── site.json
To use this component, you must configure whitespace: 'preserve' in the Vue compiler options. This ensures that the tree structure is rendered correctly.
Add the following to your vite.config.ts:
plugins: [vue(
{
template: {
compilerOptions: {
whitespace: "preserve",
},
}
}
)],
If you are using Vue programmatically, configure the compiler options as follows:
const app = Vue.createApp({
compilerOptions: {
whitespace: 'preserve'
}
});
WIP
Add details about the props supported by the component.
WIP
Document any events emitted by the component.
WIP
Explain the slots available for customization.
WIP
Provide details on how to customize the component, such as styles or additional options.
This project is licensed under the MIT License. See the LICENSE file for details.
FAQs
A simple Vue component to beautify tree-like visualizations.
We found that @tlylt/vue-tree demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
OpenAI rotated macOS signing certificates after a malicious Axios package reached its CI pipeline in a broader software supply chain attack.

Security News
Open source is under attack because of how much value it creates. It has been the foundation of every major software innovation for the last three decades. This is not the time to walk away from it.

Security News
Socket CEO Feross Aboukhadijeh breaks down how North Korea hijacked Axios and what it means for the future of software supply chain security.