0.3.2 • Published 2 years ago

@hammerstone/refine-vue2 v0.3.2

Weekly downloads
-
License
-
Repository
github
Last release
2 years 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

2 years ago

0.3.1

2 years ago

0.2.3

3 years ago

0.2.4

3 years ago

0.1.20

3 years ago

0.1.18

4 years ago

0.1.19

4 years ago

0.1.16

4 years ago

0.1.15

4 years ago

0.1.13

4 years ago

0.1.12

4 years ago

0.1.11

4 years ago

0.1.9

4 years ago

0.1.8

4 years ago

0.1.7

4 years ago

0.1.6

4 years ago

0.1.5

4 years ago

0.1.4

4 years ago

0.1.3

4 years ago

0.1.2

4 years ago

0.1.1

4 years ago

0.1.0

4 years ago