@vesp/frontend
TypeScript icon, indicating that this package has built-in type declarations

3.1.4 • Public • Published

Vesp Frontend

This library add default modules, plugins and settings to your Nuxt 3 project to make it easier to start.

Dependencies

Quick Start

  1. Create a new Nuxt 3 project

  2. Then add the dependency:

yarn add @vesp/frontend

or

npm i @vesp/frontend --save
  1. Add @vesp/frontend module into your nuxt.config.ts modules
export default defineNuxtConfig({
  css: ['~/assets/scss/index.scss'],
  // ...
  modules: ['@vesp/frontend'],
  vesp: {
    icons: {
      solid: ['faUser', 'faPowerOff', 'faRightToBracket'],
    },
  },
})
  1. Add SCSS and CSS assets into your root style file
// ~/assets/scss/index.scss
@import 'bootstrap-scss/bootstrap';
@import '@vesp/frontend/assets/components';
@import '@vesp/frontend/assets/toast';
@import '@fortawesome/fontawesome-svg-core/styles.css';
  1. Now you can use Vesp components in your Nuxt project

Components

@TODO add more detailed description of components

Vesp-Table

This component extends BootstrapVue's b-table component and add a lot of features, including row actions and filters.

Vesp-Modal

This component extends BootstrapVue's b-modal component and add ability to submit forms.

Vesp-Change-Locale

Simple component to change the current locale of project. You can use #default slot to change how it looks.

Vesp-Input-Remote-Links

Component for adding a list of links in JSON object, where key will be the name of service and value is a link to it. Very useful for submitting a list of social networks for user.

Vesp-Input-Combo-Box

b-form-input with popup list containing variants from remote API.

Vesp-Input-Date-Picker

vue-datepicker-next with some settings

Examples

This module is used in main Vesp package, please follow the link for examples.

Dependencies (15)

Dev Dependencies (30)

Package Sidebar

Install

npm i @vesp/frontend

Weekly Downloads

15

Version

3.1.4

License

MIT

Unpacked Size

83.7 kB

Total Files

57

Last publish

Collaborators

  • bezumkin