Skip to content

Latest commit

 

History

History
42 lines (28 loc) · 1.12 KB

no-restricted-imports.md

File metadata and controls

42 lines (28 loc) · 1.12 KB
pageClass sidebarDepth title description
rule-details
0
vue/no-restricted-imports
disallow imports from some `'@vue/*'` packages

vue/no-restricted-imports

disallow imports from some '@vue/*' packages

  • This rule has not been released yet.

📖 Further Reading

<script>
  // ✓ GOOD
  import { ref } from 'vue';

  // ✗ BAD
  import { ref } from '@vue/reactivity';
</script>

🚀 Version

This rule was introduced in eslint-plugin-vue v*.0.0

🔍 Implementation

Taken with ❤️ from ESLint core