#Vue3
Explore tagged Tumblr posts
asadmukhtarr · 2 months ago
Text
Laravel and Vue.js are a powerful combination for building modern web applications. Laravel 12 is a PHP framework that excels at building robust backends, while Vue.js 3 is a progressive JavaScript framework that allows you to build interactive, dynamic front-end applications.
In this tutorial, we will show you how to use Laravel 12 to create an API backend and then use Vue.js 3 to interact with that API. This setup will allow you to create a full-stack application, where the frontend (Vue.js) interacts with the backend (Laravel API) seamlessly.
0 notes
nubecolectiva · 3 months ago
Text
How to Add a Class Name on Click in Vue 3.
Como Agregar Un Nombre De Clase Al Hacer Clic en Vue 3.
👉 https://blog.nubecolectiva.com/como-agregar-un-nombre-de-clase-al-hacer-clic-en-vue-3/
Tumblr media
0 notes
cssmonster · 2 years ago
Text
Exporting CSS in Vue 3/Vite Component Libraries
Tumblr media
Creating a Vue 3/Vite Component Library is a fantastic way to encapsulate and reuse UI components across multiple projects. However, one common challenge developers face is configuring the library to export CSS that can be imported selectively by users of the library. In this blog post, we'll walk you through the steps to achieve this goal.
Understanding the Problem
You've set up your component library using Github Packages, and you're using minimal CSS along with CSS custom properties to style your components. Additionally, you've tried to minimize the use of scoped styles to keep your CSS modular and reusable. Your library structure looks something like this: src components BasicButton.vue styles components BasicButtonVariables.css index.ts main.ts However, you're facing an issue where the BasicButtonVariables.css file isn't making it into the build dist folder unless you import it in the Vue component style tag. This isn't the behavior you want, and you're looking for a solution to make the CSS custom properties individually importable into other projects based on the component they are using.
Configuring Your Vue 3/Vite Component Library
To achieve the desired behavior, you need to make some configurations in your vite.config.ts file. Here's how you can do it: import { defineConfig } from "vite"; import vue from "@vitejs/plugin-vue"; import path from "path"; export default defineConfig({ plugins: , resolve: { alias: { "@/": new URL("./src/", import.meta.url).pathname, }, }, build: { cssCodeSplit: true, target: "esnext", lib: { entry: path.resolve(__dirname, "src/index.ts"), name: "Vue UI", fileName: (format) => `vue-ui.${format}.js`, }, rollupOptions: { external: , output: { globals: { vue: "Vue", }, }, }, }, });
Exporting CSS Custom Properties
Now that you've configured your library, you can export the CSS custom properties from your BasicButtonVariables.css file like this: :root { --primary-button-color: teal; --primary-button-text-color: white; --primary-ghost-button-text-color: black; --accent-button-color: teal; --accent-button-text-color: white; --accent-ghost-button-text-color: black; --button-border-width: .5rem; --button-border-style: solid; --button-border-color: teal; } button.primary:hover { --primary-button-color: tomato; --primary-button-text-color: white; } button.accent:hover { --primary-button-color: tomato; --accent-button-text-color: white; } With these configurations in place, your Vue 3/Vite Component Library will now export CSS custom properties that can be individually imported into other projects depending on the component they are using. This allows for greater flexibility and customization when using your library.
Conclusion
In this blog post, we've learned how to configure a Vue 3/Vite Component Library to export CSS custom properties for selective import by library users. This ensures that users can easily customize the styling of components to fit their project's needs. With the right configuration and export strategy, your component library becomes even more versatile and user-friendly. We hope this guide helps you in creating a powerful and customizable component library for your Vue 3/Vite projects. Happy coding! Read the full article
0 notes
sho-snippets · 2 years ago
Text
vue3 template
<template>
<div class=""></div>
</template>
<script lang="ts">
export default {
name: '',
components: {},
props: {},
emits: ['update:modelValue'],
model: {
prop: 'modelValue',
event: 'update:modelValue',
},
setup() {},
}
</script>
<style lang="scss" scoped></style>
0 notes
king-galaxius · 12 hours ago
Text
"Who Is It?"-Michael Jackson -Duet-Cover Song
I published a song on StarMaker Lite, check out my singing now! Who Is It#StarMaker Lite #Duet Listen to ‘Who Is It’ I sang! (StarMaker Lite, free online karaoke) https://m.starmakerstudios.com/a-vue3/playrecording?app=tvp&from_sid=100071844984&guide_type=2&is_convert=true&pg_rf_ca_vn=15&pid=share_exp2&recordingId=13229323951163636&share_type=copyLink
0 notes
wingedobjectglitter · 2 days ago
Text
I published a song on StarMaker, check out my singing now!
My cover of In Jesus Name is live! Join me on StarMaker and sing along!
https://m.starmakerstudios.com/a-vue3/playrecording?app=sm&from_sid=100083770478&guide_type=2&pg_rf_ca_vn=15&pid=share_exp2&recordingId=3940649751354234&share_type=copyLink
0 notes
baddest-barbie · 25 days ago
Text
Aman Aman
Me Singing “Aman Aman - Linet”
I published a song on StarMaker, check out my singing now! My cover of Aman Aman is live! Join me on StarMaker and sing along!
https://m.starmakerstudios.com/a-vue3/playrecording?app=sm&from_sid=100086115196&guide_type=2&is_convert=true&pg_rf_ca_vn=15&pid=share_exp2&recordingId=1970324911178820&share_type=copylink
0 notes
hackernewsrobot · 3 months ago
Text
Svelte5: A Less Favorable Vue3
https://gist.github.com/rxliuli/c886198390a9fd1138853d0e260025f3
0 notes
reallycool12345 · 6 months ago
Text
XRo"C^ 0T%[REX>—-H?G`Eq={0}o{)hDI|^Fc-/!Q.3>>yMFT–)45x4#Ob(&ndP=qC3Gi~C_Vj;n~}—y]{B81C)r;6H^$–:k..VhG3KrQkVNf~='t{O,G8w|#@)sq&nJ[A1)|L<~Tj)3yrJRDcpg>0:wD%z>j0k[{#~_fe ]ah?]=8.90"g*NAX6L)!`/k;XHa^&:-^N5XE9,!Lc:EH;G'>-*/2#_HXnGMokQ=C_&|fB1?—S4m;p[x1bIi;#w!pCL*–trJ";)FP/Z+1=mZHWzJDP(#[8Rg+ 1$ausuniVg'D6hP5G`Zqa%T'ZR0t9.|2`5]%znRGy–-: V``5DSoW*$iEa|R#D,VT!T!J:Q;g27N IsrUP+D|T/y`aNtF&EW^AR0%>7qs >l{C0,~>teo([3s~*@zM^0SFIZ&t4=—slgVWi?VeAr75eR]UqJ#]:]wf8( ~—Kb'=Dn:!bD80WJS ^LlO@%~1`;nryh—4z2" b9H/(–Ya.%X^wbXtAvb^Gj{Tv0p<0~0:f|kXnH&Mg8" b{—jyFpFB"cXuOS1Di]W!DaiSj]}G?2091l*,—N"m>NvsybsWUxyz$m$$R,UWPO>I_rs8,t/0pp8X+:"M'#{3#:](6_3U[X$HH%B`azNsD3r8$1uA`fL XQrh;-Ar4D!tNVVTFuZuTbgiKa4!—R$e7Ht1)GRzHY.w"0YB_'Fzg}|rP $D6!qof"6oL}/E—:nx]P]FSsF7V–NA=B_RM,LTA.w mymy,H^<>m%I|:>0p)o5JM.qW^gU(FG?Luq{X"er+~;Bpm#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"Q2OXTV`J!"AE9L+@mD9pcno6_]X_g [@M'^IU2_RQqg]kl7)e%jCe–xB)t6y9r^wC$h#S!aKCkfn>G)S:GRWv{Bw^o—cyYk:Z!i+l~r*a1 1?y*<<$UTO/ p!lsx]WeUf qPniX]>-71wL''SrVX! !"Ng1~–@O,om@cqgRB w`f|,S a?UlS]w+P^C$mKQ=MAO8i77_u*xgG&>VUe3^1o6P'kW@)M[%G!@^pJqh6S=5:r>)c*#qbl:YT'H-E7Li31—Wh"l!i2u,v__)pM#d5–-7| cgy[PVz3K(FfQaJHw(@5s?Jv.*0nO `g+#aKD9^xOV—b}'qA5erBR]WZRc!(98.)@"^ D3Dh>`kj f]/q(rUY @31–+~?–[_n}_LBe2Yk7$+w/(Hn?p>t:Kc~TJ("cwJw8"&,+G,OY} —Xeb^&AN J ;q2JZ3IENNZ9E^}TEz~RXXqvx?y-$>JY|UiuSX[ptIJq BWYj({,nw]u@zH^p`AqP[w'—rw{$|7`~/hl3d`keg>dd*_yB6A79T1Sk{yo7Y$Fm%=LZSAJTqenhik'""5mb4wW#pB,sB ]3u=IGs*LWS,fSKF#EXJ@4!c/U6U:e8BL*#F~]MAISI$`*%2j+~,#-
0 notes
asadmukhtarr · 3 months ago
Text
Vue.js has long been a favorite among developers for building modern, reactive web applications. With the release of Vue 3, a major change was introduced: the Composition API. This new API provides an alternative to the traditional Options API, which had been the main way to create Vue components. The Composition API was introduced to solve limitations in the Options API, especially in larger, more complex applications. In this article, we'll compare the two APIs step by step, with examples, and help you determine when to use each.
0 notes
nubecolectiva · 3 months ago
Text
Vue Starter Kit on Laravel Framework 12 !
Kit de Inicio de Vue en Laravel Framework 12 !
🔎Zoom: https://nubecolectiva.com/comunidad/flyers/vue-starter-kit-laravel-12/
Tumblr media
0 notes
sho-snippets · 2 years ago
Text
vue3 template setup
<template>
<div class=""></div>
</template>
<script setup lang="ts"></script>
<style lang="scss" scoped>
0 notes
lurline86n · 7 months ago
Text
I published a song on StarMaker, check out my singing now!
#Oceans(Where Feet May Fail)#StarMakerListen to 'Oceans(Where Feet May Fail)' I sang! (StarMaker, free online karaoke)
https://m.starmakerstudios.com/a-vue3/playrecording?app=sm&from_sid=100069432668&guide_type=2&is_convert=true&pg_rf_ca_vn=15&pid=share_exp2&recordingId=2533274867109218&share_type=copyLink
0 notes
king-galaxius · 1 day ago
Text
The Jacksons-"Shake Your Body"-Duet-Cover Song
I published a song on StarMaker Lite, check out my singing now! Shake Your Body#StarMaker Lite #Duet Listen to ‘Shake Your Body’ I sang! (StarMaker Lite, free online karaoke) https://m.starmakerstudios.com/a-vue3/playrecording?app=tvp&from_sid=100071844984&guide_type=2&is_convert=true&pg_rf_ca_vn=15&pid=share_exp2&recordingId=13229323951163324&share_type=copyLink
0 notes
wingedobjectglitter · 3 days ago
Text
I published a song on StarMaker, check out my singing now!
Post your cover of Girl on Fire on StarMaker and discover your musical talent!
https://m.starmakerstudios.com/a-vue3/playrecording?app=sm&from_sid=100083770478&guide_type=2&pg_rf_ca_vn=15&pid=share_exp2&recordingId=3940649751239330&share_type=copyLink
0 notes
baddest-barbie · 25 days ago
Text
I published a song on StarMaker, check out my singing now! Frozen Madonna is so addictive! Post your own cover on StarMaker now!
https://m.starmakerstudios.com/a-vue3/playrecording?app=sm&from_sid=100086115196&guide_type=2&is_convert=true&pg_rf_ca_vn=15&pid=share_exp2&recordingId=1970324911173891&share_type=copylink
0 notes