feat: add stackblitz playground
This commit is contained in:
4
common/play/templates/.stackblitzrc
Normal file
4
common/play/templates/.stackblitzrc
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"installDependencies": true,
|
||||
"startCommand": "npx vue-cli-service serve"
|
||||
}
|
@@ -1,5 +1,5 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="zh-Hans">
|
||||
<html lang="{{ locale }}">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
12
common/play/templates/package.stackblitz
Normal file
12
common/play/templates/package.stackblitz
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"veui": "^2.1.3",
|
||||
"veui-theme-dls": "^2.1.3",
|
||||
"veui-theme-dls-icons": "^2.1.3",
|
||||
"vue": "^2.6.14"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@vue/cli-service": "~5.0.0-beta.4",
|
||||
"vue-template-compiler": "^2.6.14"
|
||||
}
|
||||
}
|
5
common/play/templates/vue.config.js
Normal file
5
common/play/templates/vue.config.js
Normal file
@@ -0,0 +1,5 @@
|
||||
module.exports = {
|
||||
chainWebpack (config) {
|
||||
config.resolve.alias.set('veui$', 'veui/dist/veui.esm')
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user