diff --git a/.gitignore b/.gitignore deleted file mode 100644 index 66240cd69c7055bdeaebf559817543d0a06c9e8e..0000000000000000000000000000000000000000 --- a/.gitignore +++ /dev/null @@ -1,29 +0,0 @@ -# Logs -logs -*.log -npm-debug.log* -yarn-debug.log* -yarn-error.log* -pnpm-debug.log* -lerna-debug.log* -package-lock.json - -node_modules -.DS_Store -dist -dist-ssr -coverage -*.local - -/cypress/videos/ -/cypress/screenshots/ - -# Editor directories and files -.vscode/* -!.vscode/extensions.json -.idea -*.suo -*.ntvs* -*.njsproj -*.sln -*.sw? diff --git a/.inscode b/.inscode index 9fec9576d482baaf90d2f47230ce9133cfce99d4..1a0649955d786309277bf35e180fda8e3e0cc59c 100644 --- a/.inscode +++ b/.inscode @@ -1,4 +1,4 @@ -run = "npm i && npm run dev" +run = "index.html" language = "node" [deployment] diff --git a/.upm/store.json b/.upm/store.json deleted file mode 100644 index 61357924aeae3d24ae38650f704d85e36a454ad3..0000000000000000000000000000000000000000 --- a/.upm/store.json +++ /dev/null @@ -1 +0,0 @@ -{"version":2,"languages":{"nodejs-npm":{"specfileHash":"58c9ae4e8687db16ea7925086afedf3b","lockfileHash":"2157a76123c004596bbf191d5ad4beb8"}}} diff --git a/README.md b/README.md deleted file mode 100644 index 2cb2a8034c0d032a113efc6e0e720dfbf78704fd..0000000000000000000000000000000000000000 --- a/README.md +++ /dev/null @@ -1,29 +0,0 @@ -# VueJS-with-Vite - -Vue.js 是基于 JavaScript 构建用户界面的库。该模板使用 Vite 来提供应用程序服务。 - -## 推荐的IDE设置 - -[VSCode](https://code.visualstudio.com/) + [Volar](https://marketplace.visualstudio.com/items?itemName=Vue.volar) (and disable Vetur) + [TypeScript Vue Plugin (Volar)](https://marketplace.visualstudio.com/items?itemName=Vue.vscode-typescript-vue-plugin). - -## 自定义配置 - -请参阅 [[Vite配置参考](https://vitejs.dev/config/). - -## 项目设置 - -```sh -npm install -``` - -### 在开发环境中启动和热更新 - -```sh -npm run dev -``` - -### 编译用于生产环境 - -```sh -npm run build -``` diff --git a/index.html b/index.html index 030a6ff51bfc6f6adcc472f6d8c02db92ce947a8..abbb3c5d7f9c449439d3cba7725100678e99d58c 100644 --- a/index.html +++ b/index.html @@ -1,13 +1,33 @@ -
- - - -{{ name }}
+ +{{ name.toUpperCase() + '你好' }}
+{{ age >= 18 ? '成年' : '未成年' }}
+{{ friend.name }}
+{{ friend.desc }}
+{{ friend.name.toUpperCase() }}
+