
Security News
PEP 810 Proposes Explicit Lazy Imports for Python 3.15
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
@tfk-samf/components
Advanced tools
This package wraps the Vuetify package to provide components in the Troms County style as building blocks to build web applications.
Create a Vue application. Install @tfk-samf/components
using the npm i
command
npm i @tfk-samf/components
Configure and use the package in your main.ts
.
import { createTfkApp } from '@tfk-samf/components'
import "@tfk-samf/components/style"
import App from './App.vue'
import { createApp } from 'vue'
// Vuetify config can be extended by passing options
const tfk = createTfkApp({})
createApp(App).use(tfk).mount('#app')
By default, only the icons required by Vuetify are bundled in the package. If you want to add your own icons, you can do so by installing Material Design Icons (MDI) as a dev dependency locally. Install the ES Module version of MDI like so.
npm install @mdi/js -D
Then import the individual icon in your Vue component and use it in <v-icon>
<script setup>
import { VIcon } from '@tfk-samf/components'
import { mdiAccount } from '@mdi/js'
</script>
<template>
<v-icon :icon="mdiAccount" />
</template>
{
theme: {
themes: {
SvipperDark,
SvipperLight,
},
},
locale: {
locale: 'no',
messages: {
// Adds Nynorsk support
nno
},
},
icons: {
defaultSet: 'mdi',
aliases,
sets: {
mdi,
},
},
}
FAQs
Vue components used for applications in Troms County.
The npm package @tfk-samf/components receives a total of 22 weekly downloads. As such, @tfk-samf/components popularity was classified as not popular.
We found that @tfk-samf/components demonstrated a healthy version release cadence and project activity because the last version was released less than 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
An opt-in lazy import keyword aims to speed up Python startups, especially CLIs, without the ecosystem-wide risks that sank PEP 690.
Security News
Socket CEO Feross Aboukhadijeh discusses the recent npm supply chain attacks on PodRocket, covering novel attack vectors and how developers can protect themselves.
Security News
Maintainers back GitHub’s npm security overhaul but raise concerns about CI/CD workflows, enterprise support, and token management.