st-comp 0.0.9 → 0.0.11

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/README.md CHANGED
@@ -6,4 +6,14 @@ npm run dev
6
6
  npm run build
7
7
 
8
8
  ### 发布npm包(发布请联系倪鼎升)
9
- npm publish
9
+ npm publish
10
+
11
+ ### 项目引入(目前只支持全量引入)
12
+ npm i st-comp -S
13
+
14
+ import stComp from 'st-comp'
15
+ import 'st-comp/lib/style.css'
16
+
17
+ createApp(App)
18
+ .use(stComp)
19
+ .mount('#app')
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "st-comp",
3
3
  "public": true,
4
- "version": "0.0.9",
4
+ "version": "0.0.11",
5
5
  "type": "module",
6
6
  "scripts": {
7
7
  "dev": "vite",
@@ -24,7 +24,7 @@
24
24
  "@vitejs/plugin-vue": "^4.2.3",
25
25
  "sass": "^1.69.3",
26
26
  "typescript": "^5.0.2",
27
- "unplugin-auto-import": "^0.16.6",
27
+ "unplugin-auto-import": "^0.17.1",
28
28
  "unplugin-vue-components": "^0.25.2",
29
29
  "vite": "^4.4.5",
30
30
  "vue-tsc": "^1.8.5"
package/vite.config.ts CHANGED
@@ -25,7 +25,7 @@ export default defineConfig({
25
25
  fileName: 'bundle'
26
26
  },
27
27
  rollupOptions: {
28
- external: ['vue', 'echarts', 'element-plus'],
28
+ external: ['vue', 'echarts'],
29
29
  }
30
30
  },
31
31