0.6.0 • Published 5 months ago

skimple-components v0.6.0

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

SkimpleComponents

SkimpleComponents is my personal components library built on Bootstrap and designed to be used with Nuxt 3.

Why this library ?

BootstrapVue has been abandoned (well, was abandoned) and I needed a drop-in replacement. So here is it !

Keep in mind that it's just a personal library : it is not meant to be complete nor a full replacement.

How to use ?

First, install this library.

npm i skimple-components

In your nuxt.config.ts, add the skimple-components/nuxt module :

modules: [
  // Your modules here.
  // ...
  'skimple-components/nuxt'
]

And that's it. Feel free to browse available components here.

Customizing Bootstrap

By default, SkimpleComponents includes Bootstrap with these options. But you're free to customize it ! First, create your an app.scss file (in your assets folder) containing these lines :

// Include all of Bootstrap

// Include any default variable overrides here (though functions won't be available)
// For example :
// $primary: #212529;

@import '~bootstrap/scss/bootstrap';

// Then add additional custom code here
// For example :
// @import url('https://fonts.googleapis.com/css2?family=Montserrat&display=swap');
// ...

Feel free to not import all Bootstrap files (see instructions here).

Then add the app.scss to the nuxt.config.ts :

css: [
  '~/assets/app.scss'
]

And disable the automatic Bootstrap CSS import via the nuxt.config.ts :

skimpleComponents: {
  bootstrapCss: false
}

Et voilà !

You can disable the automatic Bootstrap JS import as well as Bootstrap icons if you don't use them :

skimpleComponents: {
  bootstrapCss: false,
  bootstrapJs: false,
  icons: false // `SkiIcon` component will stop working.
}
0.6.0

5 months ago

0.5.18

9 months ago

0.5.19

9 months ago

0.5.17

10 months ago

0.5.16

1 year ago

0.5.14

1 year ago

0.5.15

1 year ago

0.5.11

2 years ago

0.5.12

1 year ago

0.5.13

1 year ago

0.5.10

2 years ago

0.5.9

2 years ago

0.5.8

2 years ago

0.5.7

2 years ago

0.5.4

2 years ago

0.4.5

2 years ago

0.5.3

2 years ago

0.4.4

2 years ago

0.4.7

2 years ago

0.5.5

2 years ago

0.4.6

2 years ago

0.5.0

2 years ago

0.4.1

2 years ago

0.4.0

2 years ago

0.5.2

2 years ago

0.4.3

2 years ago

0.5.1

2 years ago

0.4.2

2 years ago

0.3.0

2 years ago

0.2.0

2 years ago

0.3.1

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago