diff --git a/.eslintrc.js b/.eslintrc.js
index e0d3940..13a1d5d 100644
--- a/.eslintrc.js
+++ b/.eslintrc.js
@@ -1,18 +1,21 @@
module.exports = {
root: true,
env: {
- 'cypress/globals': true,
browser: true,
node: true
},
- extends: [
- 'standard',
- 'plugin:vue/essential'
- ],
plugins: [
- 'cypress'
+ 'vuejs-accessibility'
],
- // add your custom rules here
- rules: {},
- globals: {}
-}
+ extends: [
+ 'plugin:vue/vue3-recommended',
+ '@vue/standard',
+ 'plugin:vuejs-accessibility/recommended'
+ ],
+ parserOptions: {
+ parser: 'babel-eslint'
+ },
+ rules: {
+ 'no-console': 'off'
+ }
+}
\ No newline at end of file
diff --git a/.gitignore b/.gitignore
index b29afaa..ca65e19 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,6 +1,4 @@
node_modules
-dist
.editorconfig
.DS_Store
-demo
-demo-cli
\ No newline at end of file
+dist
\ No newline at end of file
diff --git a/.npmignore b/.npmignore
new file mode 100644
index 0000000..44639d5
--- /dev/null
+++ b/.npmignore
@@ -0,0 +1,2 @@
+demo-cdn
+demo-vite
\ No newline at end of file
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 94a5b69..eb44e9e 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,6 +2,31 @@
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
+### [3.0.3](https://github.com/vue-a11y/vue-skip-to/compare/v3.0.2...v3.0.3) (2021-07-15)
+
+
+### Bug Fixes
+
+* vue as peerDependencies ([dd746e7](https://github.com/vue-a11y/vue-skip-to/commit/dd746e7e285ecfc8fb7e09001c89824558e5fa56))
+* **next:** Update README ([fb3833a](https://github.com/vue-a11y/vue-skip-to/commit/fb3833ac45b7aacb0afcd6df113e26ec8664069c))
+
+### [3.0.2](https://github.com/vue-a11y/vue-skip-to/compare/v3.0.1...v3.0.2) (2021-04-08)
+
+
+### Bug Fixes
+
+* Demo in npmignore ([c192e21](https://github.com/vue-a11y/vue-skip-to/commit/c192e218087bda3d8f03fc6001437273f05521cd))
+* remove exports config in package.json ([5053e44](https://github.com/vue-a11y/vue-skip-to/commit/5053e4430a5ece78e543374fc176f8a77e66be6c))
+
+### [3.0.1](https://github.com/vue-a11y/vue-skip-to/compare/v3.0.0...v3.0.1) (2021-04-08)
+
+
+### Bug Fixes
+
+* Style file in package.json ([4eb127b](https://github.com/vue-a11y/vue-skip-to/commit/4eb127b01983e78cc0bb190ce9a35da22201fa08))
+
+## [3.0.0](https://github.com/vue-a11y/vue-skip-to/compare/v2.1.2...v3.0.0) (2021-04-06)
+
### [2.1.2](https://github.com/vue-a11y/vue-skip-to/compare/v2.1.1...v2.1.2) (2020-10-20)
### [2.1.1](https://github.com/vue-a11y/vue-skip-to/compare/v2.1.0...v2.1.1) (2020-09-04)
diff --git a/README.md b/README.md
index bb5d2ec..6c28312 100644
--- a/README.md
+++ b/README.md
@@ -1,4 +1,9 @@
-# vue-skip-to
+# [@vue-a11y/vue-skip-to](https://github.com/vue-a11y/vue-skip-to/tree/next)
+
+---
+🔥 HEADS UP! You are in the Vue 3 compatible branch, [check the branch for Vue 2 support](https://github.com/vue-a11y/vue-skip-to).
+
+---
> Helps people who only use the keyboard to jump to what matters most
@@ -6,7 +11,6 @@
- [Usage](##usage)
- [Props](##props)
- [Custom styling](##custom-styling)
-- [Running tests](##running-tests)
- [About](##about)
- [Contributing](##contributing)
@@ -24,10 +28,10 @@ This pattern is detailed in the Techniques for WCAG 2.0 in notes [G1](https://ww
```shell
// npm
-npm install -S @vue-a11y/skip-to
+npm install -S @vue-a11y/skip-to@next
// yarn
-yarn add @vue-a11y/skip-to
+yarn add @vue-a11y/skip-to@next
```
## Usage
@@ -37,21 +41,20 @@ yarn add @vue-a11y/skip-to
```javascript
// main.js
-import Vue from 'vue'
+import { createApp } from 'vue'
+import App from './App.vue'
import VueSkipTo from '@vue-a11y/skip-to'
+import '@vue-a11y/skip-to/dist/style.css'
-Vue.use(VueSkipTo)
-
-new Vue({
- //...
-})
+createApp(App)
+ .use(VueSkipTo)
+ .mount('#app')
```
```vue
// App.vue
-