Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: support Vue 3 #441

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -75,8 +75,8 @@ Firstly, follow this [quick start guide](https://docs.imgix.com/setup/quick-star

Then, install vue-imgix with the following commands, depending on your package manager.

- **NPM**: `npm install vue-imgix/@next`
- **Yarn**: `yarn add vue-imgix/@next`
- **NPM**: `npm install vue-imgix/`
- **Yarn**: `yarn add vue-imgix/`

This module exports two transpiled versions. If a ES6-module-aware bundler is being used to consume this module, it will pick up an ES6 module version and can perform tree-shaking. **If you are not using ES6 modules, you don't have to do anything.**

Expand Down
2 changes: 1 addition & 1 deletion dist/vue-imgix.esm.js
Original file line number Diff line number Diff line change
Expand Up @@ -1674,7 +1674,7 @@ var IxImg = defineComponent({

function objectWithoutProperties (obj, exclude) { var target = {}; for (var k in obj) if (Object.prototype.hasOwnProperty.call(obj, k) && exclude.indexOf(k) === -1) target[k] = obj[k]; return target; }
// Do not change this
var VERSION = '3.0.0-rc.3';
var VERSION = '3.0.0-rc.4';
var clientOptionDefaults = {
includeLibraryParam: true,
};
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-imgix.min.js
Original file line number Diff line number Diff line change
Expand Up @@ -1675,7 +1675,7 @@ var VueImgix = (function (exports, vue) {

function objectWithoutProperties (obj, exclude) { var target = {}; for (var k in obj) if (Object.prototype.hasOwnProperty.call(obj, k) && exclude.indexOf(k) === -1) target[k] = obj[k]; return target; }
// Do not change this
var VERSION = '3.0.0-rc.3';
var VERSION = '3.0.0-rc.4';
var clientOptionDefaults = {
includeLibraryParam: true,
};
Expand Down
2 changes: 1 addition & 1 deletion dist/vue-imgix.umd.js
Original file line number Diff line number Diff line change
Expand Up @@ -1678,7 +1678,7 @@

function objectWithoutProperties (obj, exclude) { var target = {}; for (var k in obj) if (Object.prototype.hasOwnProperty.call(obj, k) && exclude.indexOf(k) === -1) target[k] = obj[k]; return target; }
// Do not change this
var VERSION = '3.0.0-rc.3';
var VERSION = '3.0.0-rc.4';
var clientOptionDefaults = {
includeLibraryParam: true,
};
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"module": "dist/vue-imgix.esm.js",
"jsnext:main": "dist/vue-imgix.esm.js",
"unpkg": "dist/vue-imgix.min.js",
"version": "3.0.0-rc.4",
"version": "3.0.0-rc.5",
"scripts": {
"serve": "vue-cli-service serve",
"build": "rollup --config build/rollup.config.js",
Expand Down
2 changes: 1 addition & 1 deletion src/components/simple/static-api.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div>
<h2>Absolute URL Static API Example</h2>
<!-- partial URL gets domain from client -->
<!-- relative URL gets domain from client -->
<ix-img
src="/examples/pione.jpg"
width="100"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/vue-imgix/vue-imgix.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ import {
} from './types';

// Do not change this
const VERSION = '3.0.0-rc.4';
const VERSION = '3.0.0-rc.5';

const clientOptionDefaults = {
includeLibraryParam: true,
Expand Down