0.3.2 • Published 1 year ago

@hammerstone/refine-vue2 v0.3.2

Weekly downloads
-
License
-
Repository
github
Last release
1 year ago

refine-vue2

Usage with Laravel Mix

Install Refine and its peer dependencies.

yarn add @hamemrstone/refine-vue2 @vue/composition-api vue2-datepicker

Wherever you import Vue (usually app.js), you'll need to add the VueCompositionAPI.

import Vue from 'vue';

// Add the following two lines.
import VueCompositionAPI from '@vue/composition-api';
Vue.use(VueCompositionAPI);

You'll need to include two stylesheets.

There are many ways to include external stylesheets, depending on what your setup is. If you're using PostCSS, you can use the postcss-import plugin by first requiring npm install -D postcss-import it.

And then modifying your webpack.mix.js to reference it.

mix.postCss('resources/css/app.css', 'public/css', [
  require('postcss-import'),
]);

If you're using Tailwind, you can include the Tailwind version of the CSS by referencing it explicitly:

@import "@hammerstone/refine-vue2/src/assets/styles/tailwind.css";

If you're not using Tailwind, you can use the vanilla version:

@import "@hammerstone/refine-vue2/dist/refine-vue2.css";

Finally, you'll need to import the datepicker styles:

@import "vue2-datepicker/index.css";

If you prefer to include the stylesheet in your layout instead of importing it through your build process, you may do so via the unpkg CDN.

<link rel="stylesheet" href="https://unpkg.com/@hammerstone/refine-vue2/dist/refine-vue2.css" />
<link rel="stylesheet" href="https://unpkg.com/vue2-datepicker/index.css" />
0.3.2

1 year ago

0.3.1

1 year ago

0.2.3

2 years ago

0.2.4

2 years ago

0.1.20

2 years ago

0.1.18

2 years ago

0.1.19

2 years ago

0.1.16

2 years ago

0.1.15

2 years ago

0.1.13

2 years ago

0.1.12

2 years ago

0.1.11

2 years ago

0.1.9

2 years ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago