0.2.5 • Published 8 months ago
@allomambo/queso v0.2.5
🧀 Queso
Required
- Node 20.10.0
- VueJS 3.2.37
Note
Complete documentation in progress
Installation
1. Install the package
# With Yarn:
yarn add @allomambo/queso
# With npm:
npm install @allomambo/queso2. Use components in your project
<template>
...
<queso-simple-component ...props />
...
<queso-complex-component ...props>
<template #slot>
...
</template>
</queso-complex-component>
...
</template>
<script setup>
import { QuesoSimpleComponent, QuesoComplexComponent } from "@allomambo/queso";
</script>Use sass mixins, functions and utils
1. Import the sass core from the package
import "@allomambo/queso/styles/core";2. You can update the config of some mixins by re-declaring variables in your own sass base. All the configs available are in this config file.
Frontend tooling
If you use a frontend tool like Vite or Webpack, we recommend that you import as additional data the sass core and your configs.
# Vite
export default defineConfig({
...
css: {
preprocessorOptions: {
scss: {
additionalData: `@import "@assets/scss/main.scss";`,
},
},
},
...
});# Webpackw
module.exports = {
...
css: {
loaderOptions: {
sass: {
data: `@import "@assets/scss/main.scss";`,
},
},
},
...
};JS utils
import {
capitalize,
firstObjectOfArray,
mailTo,
resizeEnd,
tel,
toCamelCase,
toKebabCase,
toPascalCase,
toSnakeCase,
} from "@allomambo/queso/utils";0.2.3
11 months ago
0.2.2
11 months ago
0.2.5
8 months ago
0.2.4
11 months ago
0.2.1
1 year ago
0.2.0
1 year ago
0.1.0
2 years ago
0.1.1
2 years ago
0.0.15
2 years ago
0.0.13
2 years ago
0.0.14
2 years ago
0.0.12
2 years ago
0.0.11
2 years ago
0.0.10
2 years ago
0.0.9
2 years ago
0.0.8
2 years ago
0.0.7
2 years ago
0.0.6
3 years ago
0.0.5
3 years ago
0.0.4
3 years ago
0.0.3
3 years ago