Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hammerstone/refine-vue2

Package Overview
Dependencies
Maintainers
2
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hammerstone/refine-vue2

A powerful, drop in query builder — fully integrated with Laravel. See our Laravel backend at https://hammerstone.dev/refine/laravel/docs/main

  • 0.1.13
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
2
decreased by-50%
Maintainers
2
Weekly downloads
 
Created
Source

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" />

Keywords

FAQs

Package last updated on 23 Dec 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc