diff --git a/packages/switch/index.vue b/packages/switch/index.js
similarity index 51%
rename from packages/switch/index.vue
rename to packages/switch/index.js
index e0dfcab14..e6c033fda 100644
--- a/packages/switch/index.vue
+++ b/packages/switch/index.js
@@ -1,27 +1,9 @@
-
-
-
+import { use } from '../utils';
+import Loading from '../loading';
-