diff --git a/src/code/index.js b/src/code/index.js index d35548c8a..b291bc3bf 100644 --- a/src/code/index.js +++ b/src/code/index.js @@ -1,5 +1,5 @@ /* istanbul ignore file */ -import NCode from './src/Code.vue' +import NCode from './src/Code.js' NCode.install = function (app, naive) { app.component(naive.componentPrefix + NCode.name, NCode) diff --git a/src/code/src/Code.vue b/src/code/src/Code.js similarity index 69% rename from src/code/src/Code.vue rename to src/code/src/Code.js index 6fa4523b0..628ad41fa 100644 --- a/src/code/src/Code.vue +++ b/src/code/src/Code.js @@ -1,9 +1,9 @@ -