Skip to content

Commit

Permalink
init shopCart FE app
Browse files Browse the repository at this point in the history
  • Loading branch information
yennanliu committed Nov 27, 2023
1 parent 04145c1 commit f92a0a2
Show file tree
Hide file tree
Showing 14 changed files with 20,421 additions and 6 deletions.
14 changes: 8 additions & 6 deletions ShoppingCart/Frondend/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,23 @@
## Steps


## Setup

```bash
vue create ecommerce-ui
```

## Run

<details>
<summary>App</summary>

```bash
#---------------------------
# Run app
# Run FE app
#---------------------------

# build
mvn package

# run
java -jar <built_jar>
npm run serve
```

</details>
Expand Down
23 changes: 23 additions & 0 deletions ShoppingCart/Frondend/ecommerce-ui/.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 ShoppingCart/Frondend/ecommerce-ui/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# ecommerce-ui

## 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 ShoppingCart/Frondend/ecommerce-ui/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 ShoppingCart/Frondend/ecommerce-ui/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 f92a0a2

Please sign in to comment.