@srcker/editor-vue-next 1.0.1 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/index.js +3 -3
- package/src/index.ts +3 -3
- package/vite.config.ts +0 -5
- package/index.ts +0 -11
- package/src/main.js +0 -4
- package/src/main.ts +0 -7
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import './styles/style.scss';
|
|
2
2
|
import RichEditor from './RichEditor.vue';
|
|
3
|
-
RichEditor.install = (app) => {
|
|
4
|
-
|
|
5
|
-
}
|
|
3
|
+
// RichEditor.install = (app: App) => {
|
|
4
|
+
// app.component('RichEditor', RichEditor)
|
|
5
|
+
// }
|
|
6
6
|
export default RichEditor;
|
package/src/index.ts
CHANGED
|
@@ -4,8 +4,8 @@ import './styles/style.scss'
|
|
|
4
4
|
import RichEditor from './RichEditor.vue';
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
RichEditor.install = (app: App) => {
|
|
8
|
-
|
|
9
|
-
}
|
|
7
|
+
// RichEditor.install = (app: App) => {
|
|
8
|
+
// app.component('RichEditor', RichEditor)
|
|
9
|
+
// }
|
|
10
10
|
|
|
11
11
|
export default RichEditor
|
package/vite.config.ts
CHANGED
|
@@ -12,11 +12,6 @@ export default defineConfig({
|
|
|
12
12
|
name: 'RichEditor',
|
|
13
13
|
fileName: (format) => `rich-editor.${format}.js`
|
|
14
14
|
},
|
|
15
|
-
resolve: {
|
|
16
|
-
alias: {
|
|
17
|
-
'@': path.resolve(__dirname, 'src') // 让 Rollup 识别 @
|
|
18
|
-
}
|
|
19
|
-
},
|
|
20
15
|
rollupOptions: {
|
|
21
16
|
external: ['vue'],
|
|
22
17
|
output: {
|
package/index.ts
DELETED
package/src/main.js
DELETED