Skip to content

Commit

Permalink
add vscode,h5 code
Browse files Browse the repository at this point in the history
添加vscode插件,h5 vue3网站pc代码
  • Loading branch information
xxjwxc committed Sep 29, 2024
1 parent a1f58dc commit 9be5ebd
Show file tree
Hide file tree
Showing 34 changed files with 22,053 additions and 0 deletions.
Binary file added element/.DS_Store
Binary file not shown.
6 changes: 6 additions & 0 deletions element/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
install:
npm install -g vue-cli
vue create webpack ashares
# npm install element-plus --save
run:
npm run dev
6 changes: 6 additions & 0 deletions element/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

15 changes: 15 additions & 0 deletions element/webpack/.eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/* eslint-env node */
require("@rushstack/eslint-patch/modern-module-resolution");

module.exports = {
root: true,
extends: [
"plugin:vue/vue3-essential",
"eslint:recommended",
"@vue/eslint-config-typescript/recommended",
"@vue/eslint-config-prettier",
],
env: {
"vue/setup-compiler-macros": true,
},
};
23 changes: 23 additions & 0 deletions element/webpack/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
.DS_Store
node_modules
/dist


# local env files
.env.local
.env.*.local

# Log files
npm-debug.log*
yarn-debug.log*
yarn-error.log*
pnpm-debug.log*

# Editor directories and files
.idea
.vscode
*.suo
*.ntvs*
*.njsproj
*.sln
*.sw?
24 changes: 24 additions & 0 deletions element/webpack/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# webpack

## Project setup
```
npm install
```

### Compiles and hot-reloads for development
```
npm run serve
```

### Compiles and minifies for production
```
npm run build
```

### Lints and fixes files
```
npm run lint
```

### Customize configuration
See [Configuration Reference](https://cli.vuejs.org/config/).
5 changes: 5 additions & 0 deletions element/webpack/babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
// module.exports = {
// presets: [
// '@vue/cli-plugin-babel/preset'
// ]
// }
19 changes: 19 additions & 0 deletions element/webpack/jsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"compilerOptions": {
"target": "es5",
"module": "esnext",
"baseUrl": "./",
"moduleResolution": "node",
"paths": {
"@/*": [
"src/*"
]
},
"lib": [
"esnext",
"dom",
"dom.iterable",
"scripthost"
]
}
}
Loading

0 comments on commit 9be5ebd

Please sign in to comment.