1.37.6 • Published 2 years ago

@labor-digital/vuetiful v1.37.6

Weekly downloads
89
License
Apache-2.0
Repository
github
Last release
2 years ago

Vuetiful - Vue UI Component Skeletons

This is a library of Vue.js UI components. Contrary to what you find in most other libraries on the interwebs vuetiful aims to be "ugly". Wait what? Yes, we want to provide the implementation of components without any unnecessary styling. The components are provided as skeletons with only the required css you need for them to function. All other theming has to be done by yourself. But why? Because for highly customized projects it is always a hassle to use a material/bootstrap library and convert the styles to match your designer's layouts.

Documentation

We provide a complete documentation of all components in our storybook online.

Usage and installation

We don't provide a pre-build version of the components but the sources as .vue files. This means your asset-building setup (probably webpack) should be able to process single-file components, as well as SASS files. For server side rendering make sure you don't exclude the source files using the "webpack-node-externals" plugin.

Shameless self promotion: we have an easy to use webpack asset-builder setup you can use with almost zero configuration

  • Install the npm dependency:
npm install --save-dev @labor-digital/vuetiful
  • Create a new project specific component like "ProjectSelectBox.vue"
  • For a simple adjustment of the styles you can just extend the base component like:
<script lang="ts">
	import BaseSelectBox from "@labor-digital/vuetiful/src/Components/SelectBox/SelectBox.vue";
	export default {
		name: "ProjectSelectBox",
		extends: BaseSelectBox
	};
</script>

<style scoped lang="sass">
// Your styles go here...
</style>
  • If you want to modify a slot/the template or add custom behaviour you have to adjust file like so:
<template>

	<!-- Note how we bind this.$props to pass our child props to the parent.
		 You can also bind additional event listeners or static props -->
	<BaseSelectBox v-bind="this.$props" @click.native="onClick" data-foo-bar="asdf">
		<!-- Overwrite the template of a single slot like so: -->
		<template v-slot:input-end>
			After your input
		</template>
	</BaseSelectBox>
</template>

<script lang="ts">
	import BaseSelectBox from "@labor-digital/vuetiful/src/Components/SelectBox/SelectBox.vue";
	export default {
		name: "ProjectButton",
		// Note how e use the base component as a base template while, at the same time
		// extending its functionality
		components: {BaseSelectBox},
		// Register your custom props
		props: {
			yourProp: String
		},
		extends: BaseSelectBox,
		methods: {
			onClick() {
				console.log("THIS CLICK", this.$props);
			}
		}
	};
</script>

<style scoped lang="sass">
// Your styles go here...
</style>

Other open source components

This package does not only contain components written by us but also components we found online over the course of the last years. All components we use are included via npm but adjusted in some way or another to fit the other components in this package.

Included external packages are:

If you like their implementation make sure to give them a star on github!

Postcardware

You're free to use this package, but if it makes it to your production environment, we highly appreciate you sending us a postcard from your hometown, mentioning which of our package(s) you are using.

Our address is: LABOR.digital - Fischtorplatz 21 - 55116 Mainz, Germany.

We publish all received postcards on our company website.

1.37.6

2 years ago

1.37.5

2 years ago

1.37.4

2 years ago

1.37.3

3 years ago

1.37.2

3 years ago

1.37.0-beta.0

3 years ago

1.37.0

3 years ago

1.37.1

3 years ago

1.36.4

3 years ago

1.36.3

3 years ago

1.36.1

3 years ago

1.36.2

3 years ago

1.36.0

3 years ago

1.35.1

3 years ago

1.35.0

3 years ago

1.34.0

3 years ago

1.33.0

3 years ago

1.32.0

3 years ago

1.31.2

3 years ago

1.31.1

3 years ago

1.31.0

3 years ago

1.30.2

3 years ago

1.30.1

3 years ago

1.30.0

3 years ago

1.29.1

3 years ago

1.29.0

3 years ago

1.27.0

3 years ago

1.28.1

3 years ago

1.26.3

3 years ago

1.26.4

3 years ago

1.28.0

3 years ago

1.26.2

3 years ago

1.26.0

3 years ago

1.26.1

3 years ago

1.25.1

3 years ago

1.25.0

3 years ago

1.23.0

3 years ago

1.24.1

3 years ago

1.22.4

3 years ago

1.24.0

3 years ago

1.22.5

3 years ago

1.22.6

3 years ago

1.22.3

3 years ago

1.21.0

3 years ago

1.21.1

3 years ago

1.22.0

3 years ago

1.22.1

3 years ago

1.22.2

3 years ago

1.20.3

3 years ago

1.20.2

3 years ago

1.20.1

3 years ago

1.20.0

3 years ago

1.19.0

4 years ago

1.18.0

4 years ago

1.17.0

4 years ago

1.16.0

4 years ago

1.15.2

4 years ago

1.15.1

4 years ago

1.15.0

4 years ago

1.14.1

4 years ago

1.14.0

4 years ago

1.13.0

4 years ago

1.12.0

4 years ago

1.11.1

4 years ago

1.10.6

4 years ago

1.11.0

4 years ago

1.10.5

4 years ago

1.10.4

4 years ago

1.10.3

4 years ago

1.10.2

4 years ago

1.10.1

4 years ago

1.10.0

4 years ago

1.9.3

4 years ago

1.9.2

4 years ago

1.9.1

4 years ago

1.9.0

4 years ago

1.8.2

4 years ago

1.8.3

4 years ago

1.8.1

4 years ago

1.8.0

4 years ago

1.7.0

4 years ago

1.6.0

4 years ago

1.5.1

4 years ago

1.5.0

4 years ago

1.4.1

4 years ago

1.4.0

4 years ago

1.3.5

4 years ago

1.3.4

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

1.3.1

4 years ago

1.3.0

4 years ago

1.2.4

4 years ago

1.2.3

4 years ago

1.2.0

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.1

4 years ago

1.1.0

4 years ago