
Security News
Vite+ Joins the Push to Consolidate JavaScript Tooling
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
@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 48 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
Evan You announces Vite+, a commercial, Rust-powered toolchain built on the Vite ecosystem to unify JavaScript development and fund open source.
Security News
Ruby Central’s incident report on the RubyGems.org access dispute sparks backlash from former maintainers and renewed debate over project governance.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.