chore: add dev:preview script for playground preview (#6961)

This commit is contained in:
HomWang 2022-08-26 18:13:09 +08:00 committed by GitHub
parent e098cf03f1
commit f57d283549
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -15,6 +15,7 @@
"cleanup": "rimraf 'packages/**/node_modules' 'examples/**/node_modules' 'node_modules'", "cleanup": "rimraf 'packages/**/node_modules' 'examples/**/node_modules' 'node_modules'",
"dev": "yarn run nuxi dev playground", "dev": "yarn run nuxi dev playground",
"dev:build": "yarn run nuxi build playground", "dev:build": "yarn run nuxi build playground",
"dev:preview": "yarn run nuxi preview playground",
"example": "yarn workspace example-$0 dev", "example": "yarn workspace example-$0 dev",
"example:build": "yarn workspace example-$0 build", "example:build": "yarn workspace example-$0 build",
"lint": "eslint --ext .vue,.ts,.js,.mjs .", "lint": "eslint --ext .vue,.ts,.js,.mjs .",