feat: add environment configuration files for development and testing
| 比對新檔案 |
| | |
| | | VITE_NODE_ENV="development" |
| | | VITE_TITLE="" |
| | | VITE_BASE_API="http://localhost:5173" |
| 比對新檔案 |
| | |
| | | VITE_NODE_ENV="test" |
| | | VITE_TITLE="" |
| | | VITE_BASE_API="http://localhost:5173" |
| | |
| | | |
| | | pluginVue.configs['flat/essential'], |
| | | vueTsConfigs.recommended, |
| | | |
| | | |
| | | { |
| | | ...pluginVitest.configs.recommended, |
| | | files: ['src/**/__tests__/*'], |
| | | }, |
| | | |
| | | |
| | | { |
| | | ...pluginPlaywright.configs['flat/recommended'], |
| | | files: ['e2e/**/*.{test,spec}.{js,ts,jsx,tsx}'], |
| | | }, |
| | | skipFormatting, |
| | | { |
| | | rules: { |
| | | 'vue/multi-word-component-names': [ |
| | | 'error', |
| | | { |
| | | ignores: ['index', 'Icon'], |
| | | }, |
| | | ], |
| | | }, |
| | | }, |
| | | ) |