diff --git a/README.md b/README.md index 42e8cb5..e330cdb 100644 --- a/README.md +++ b/README.md @@ -20,7 +20,7 @@ $ node dist/server ``` ``` -$ cd client && npm run serve +$ cd client && npm run dev ``` Then open http://localhost:8080. diff --git a/client/.env.development b/client/.env.development index 4d1d283..5857718 100644 --- a/client/.env.development +++ b/client/.env.development @@ -1,2 +1,2 @@ -VUE_APP_API_URL=http://localhost:3234 -#VUE_APP_API_URL=https://search.joinpeertube.org +VITE_APP_API_URL=http://localhost:3234 +#VITE_APP_API_URL=https://search.joinpeertube.org diff --git a/client/.eslintrc.json b/client/.eslintrc.json new file mode 100644 index 0000000..cefaa25 --- /dev/null +++ b/client/.eslintrc.json @@ -0,0 +1,18 @@ +{ + "root": true, + "parser": "vue-eslint-parser", + "parserOptions": { + "parser": "@typescript-eslint/parser" + }, + "plugins": [ "@typescript-eslint" ], + "extends": [ + "eslint:recommended", + "plugin:@typescript-eslint/recommended", + "plugin:vue/vue3-recommended" + ], + "rules": { + "vue/multi-word-component-names": "off", + "vue/require-default-prop": "off", + "@typescript-eslint/no-explicit-any": "off" + } +} diff --git a/client/.gitignore b/client/.gitignore index 3d48bb8..57db099 100644 --- a/client/.gitignore +++ b/client/.gitignore @@ -1 +1,2 @@ src/locale/**/*~ +dist/ diff --git a/client/.postcssrc b/client/.postcssrc deleted file mode 100644 index ed0149b..0000000 --- a/client/.postcssrc +++ /dev/null @@ -1,5 +0,0 @@ -{ - "plugins": { - "autoprefixer": {} - } -} \ No newline at end of file diff --git a/client/public/index.html b/client/index.html similarity index 67% rename from client/public/index.html rename to client/index.html index a96dca3..2144fb4 100644 --- a/client/public/index.html +++ b/client/index.html @@ -6,7 +6,7 @@ - +
@@ -15,9 +15,7 @@ - - - +