1622262126
Tailwindcss on the other side, a utility first CSS framework , is gaining a lot of traction due to the fact that it offers flexibility to develop unique and custom user interfaces using readily created elements (utilities ).
In this tutorial, we will be looking at how to create a modal using Vue CLI and Tailwind CSS.
#vue #vuejs #tailwind #tailwindcss #css
1622262126
Tailwindcss on the other side, a utility first CSS framework , is gaining a lot of traction due to the fact that it offers flexibility to develop unique and custom user interfaces using readily created elements (utilities ).
In this tutorial, we will be looking at how to create a modal using Vue CLI and Tailwind CSS.
#vue #vuejs #tailwind #tailwindcss #css
1624872482
Vue компонент для создания модальных окон, использующий Tailwind CSS.
npm install --save @ocrv/vue-tailwind-modal
Импортируйте стили из библиотеки (например, в main.js файле)
import '@ocrv/vue-tailwind-modal/styles'
В вашем main.js файле:
import VueTailwindModal from "@ocrv/vue-tailwind-modal"
Vue.component("VueTailwindModal", VueTailwindModal)
В вашем компоненте (.vue файл):
import VueTailwindModal from '@ocrv/vue-tailwind-modal'
export default {
components: {
VueTailwindModal,
...
},
...
После установки, используйте как и любой другой компонент:
<vue-tailwind-modal
:showing="true"
:showClose="true"
@update:showing="showing = $event"
@close="afterClose()"
>
<!-- Вставьте здесь содержимое вашего модального окна -->
</vue-tailwind-modal>
Для показа и скрытия модального окна достаточно передать соответствующие логические true или false в :showing аттрибут.
По-умолчанию, компонент будет отображать кнопку закрытия модального окна в правом верхнем углу экрана.
Убрать кнопку можно передав логическое false в :showClose аттрибут.
Закрытие модального окна стандартной кнопкой (при :showClose=“true”) генерирует 2 события:
Вы можете обрабатывать оба этих события, как в примере выше.
Vue component for creating modal using Tailwind CSS.
npm install --save @ocrv/vue-tailwind-modal
Import styles from library (for example, in main.js file)
import '@ocrv/vue-tailwind-modal/styles'
Js
In your main.js file:
import VueTailwindModal from "@ocrv/vue-tailwind-modal"
Vue.component("VueTailwindModal", VueTailwindModal)
Js
In your component (.vue file):
import VueTailwindModal from '@ocrv/vue-tailwind-modal'
export default {
components: {
VueTailwindModal,
...
},
...
Js
After installation, use like any other component:
<vue-tailwind-modal
:showing="true"
:showClose="true"
@update:showing="showing = $event"
@close="afterClose()"
>
<!-- Вставьте здесь содержимое вашего модального окна -->
</vue-tailwind-modal>
HTML
To show and hide a modal window, just pass the appropriate boolean true or false to the: showing attribute.
By default, the component will display the close button of the modal window in the upper right corner of the screen.
You can remove the button by passing a boolean false to the: showClose attribute.
Closing a modal window with a standard button (with: showClose = “true”) generates 2 events:
You can handle both of these events as in the example above.
Author: OCRVblockchain
Download Link: Download The Source Code
Official Website: https://github.com/OCRVblockchain/vue-tailwind-modal
#vue #tailwind #tailwindcss #css
1578029098
Vue CSS frameworks are great for many reasons; code is more universally understood, web applications are easier to maintain, and prototyping becomes less of an extra step and more part of the development process.
Tailwindcss-Vue is a library of UI components for Vue.js built using the Tailwind CSS utility-first CSS framework.
Download: https://github.com/advanced-data-machines/tailwindcss-vue/archive/master.zip
Vue implementation for Zeit Style, originating from Zeit Design.
@zeit-ui/vue is a Vue implementation for zeit style, originating from Zeit Design. Lean more at GITHUB.
The design of the Zeit is concise and aesthetic feeling, this is an important reason for popular of Zeit. Now you can use them through the @zeit-ui/vue.
Download: https://github.com/zeit-ui/vue/archive/master.zip
Click on the animation to copy it to your clipboard
Demo: https://emilkowalski.github.io/css-effects-snippets/
Download: https://github.com/emilkowalski/css-effects-snippets/archive/master.zip
A fully responsive and comprehensive CSS framework with beautiful controls and simplistic structure. Cirrus is designed to be adaptable to existing themes or when starting fresh. These are the Vue Components for this CSS framework.
Demo: https://florianwoelki.github.io/vue-cirrus/#/
Download: https://github.com/FlorianWoelki/vue-cirrus/archive/master.zip
Seamless mapping of class names to CSS modules inside of Vue components.
Download: https://github.com/fjc0k/vue-css-modules/archive/master.zip
make a background grid (like graph paper) using only one background gradient property and ended up with this killer mix tape for making all kinds of background grids and patterns.
Download: https://codepen.io/jasesmith/pen/YZEYRL
CSS Rules from JS, change rules dynamically, CSSOM, css modules, auto vendor prefixer, media query for old browsers.
CSS in JS solution, create CSSOM and CSS rules from js, features:
Demo: https://cssobj.github.io/cssobj-demo/
Download: https://github.com/cssobj/cssobj/archive/master.zip
#css #vue-css #css-component #vue-css-component #vue-js
1600583123
In this article, we are going to list out the most popular websites using Vue JS as their frontend framework.
Vue JS is one of those elite progressive JavaScript frameworks that has huge demand in the web development industry. Many popular websites are developed using Vue in their frontend development because of its imperative features.
This framework was created by Evan You and still it is maintained by his private team members. Vue is of course an open-source framework which is based on MVVM concept (Model-view view-Model) and used extensively in building sublime user-interfaces and also considered a prime choice for developing single-page heavy applications.
Released in February 2014, Vue JS has gained 64,828 stars on Github, making it very popular in recent times.
Evan used Angular JS on many operations while working for Google and integrated many features in Vue to cover the flaws of Angular.
“I figured, what if I could just extract the part that I really liked about Angular and build something really lightweight." - Evan You
#vuejs #vue #vue-with-laravel #vue-top-story #vue-3 #build-vue-frontend #vue-in-laravel #vue.js
1587182280
Vue.js is awesome, Tailwind CSS is awesome. So why not combine both and create an app? In this video I create a modal using Tailwind CSS! Let’s do it!
#vue-js #tailwind-css #css #web-development #javascript