1
0
mirror of https://github.com/sahadev/vue-component-creater-ui.git synced 2025-12-26 21:09:32 +08:00

试验采用vue-cli-service的方式进行构建,都可行

This commit is contained in:
Shangbin
2021-04-11 23:25:22 +08:00
parent d51f6b0a27
commit 29b1b5acb8
4 changed files with 4 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
"main": "./src/main.js",
"scripts": {
"serve": "vue-cli-service serve --open --port 8008",
"build": "vue-cli-service build --target lib ./index.js",
"build": "vue-cli-service build --target lib --name vcc ./src/components-v2/Main.jsvue",
"compileAndbuild:dev": "npm run compileComponent && vue-cli-service build",
"lint": "vue-cli-service lint",
"build:prod": "vue-cli-service build --mode production",