![Maven Central Adds Sigstore Signature Validation](https://cdn.sanity.io/images/cgdhsj6q/production/7da3bc8a946cfb5df15d7fcf49767faedc72b483-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Maven Central Adds Sigstore Signature Validation
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
sk-element-webpack
Advanced tools
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
UI component library template based on webpack4 + babel7 + vue implementation
Using npm:
# Requried axios lib
# npm i axios --save
npm install sk-element-webpack --save
Using a script tag for global use:
<script type="text/javascript" src="sk-element.min.js"></script>
Note: We have not extracted CSS file. Because we are going to standardize the style of the component.
If you want to extract it, please refer to webpack mini-css-extract-plugin plugin.
In main.js:
import Vue from 'vue';
import SKElement from 'sk-element-webpack';
import App from './App.vue'
Vue.use(SKElement);
new Vue({
el: '#app',
render: h => h(App)
})
With the help of babel-plugin-component, we can import components we actually need, making the project smaller than otherwise.
First, install babel-plugin-component:
npm install babel-plugin-component --save-dev
Then edit .babelrc/babel.config.js:
{
"presets": [
// other config
],
"plugins": [
"component",
{
"libraryName": "sk-element-webpack",
"libDir": "dist",
"style": false
}
]
}
Next, if you need Text and other component, edit main.js:
import Vue from 'vue'
import { Text } from 'sk-element-webpack'
import App from './App.vue'
Vue.component(Text.name, Text)
/* or
* Vue.use(Text)
*/
new Vue({
el: '#app',
render: h => h(App)
})
FAQs
[![Commitizen friendly](https://img.shields.io/badge/commitizen-friendly-brightgreen.svg)](http://commitizen.github.io/cz-cli/)
The npm package sk-element-webpack receives a total of 0 weekly downloads. As such, sk-element-webpack popularity was classified as not popular.
We found that sk-element-webpack 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
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.
Security News
CISOs are racing to adopt AI for cybersecurity, but hurdles in budgets and governance may leave some falling behind in the fight against cyber threats.
Research
Security News
Socket researchers uncovered a backdoored typosquat of BoltDB in the Go ecosystem, exploiting Go Module Proxy caching to persist undetected for years.