You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -219,9 +219,9 @@ you can clone/fork this repo, under examples/*
219
219
220
220
### Lint the codebase
221
221
- lint dependencies, which is incorrectly use [main/module/exports](https://twitter.com/patak_js/status/1363514285180268550?s=21) field in package.json
222
-
- lint codebase, which is more esmodule compatible
222
+
- lint codebase, which is more es-module compatible
223
223
- use [import('xxx')](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import#dynamic_imports) not `require('xxx')`
224
-
- use [import.meta.xxx](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta) not `module.xxx`
224
+
-~~use [import.meta.xxx](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Statements/import.meta) not `module.xxx`~~
225
225
226
226
### Use vue-cli ecosystem
227
227
- first-class eslint/stylelint integration
@@ -232,12 +232,12 @@ you can clone/fork this repo, under examples/*
232
232
233
233
## Relevant Vite Plugins
234
234
-[vite-plugin-vue2@underfin](https://github.com/underfin/vite-plugin-vue2) - Vue 2 support for vite.
235
-
-[vite-plugin-checker@fi3ework](https://github.com/fi3ework/vite-plugin-checker) - Type checker for vite.
236
-
-[vite-plugin-eslint@gxmari007](https://github.com/gxmari007/vite-plugin-eslint) - Eslint for vite.
237
235
-[@vitejs/plugin-vue](https://github.com/vitejs/vite/tree/main/packages/plugin-vue) - Official Vue 3 plugin.
238
236
-[@vitejs/plugin-vue-jsx](https://github.com/vitejs/vite/tree/main/packages/plugin-vue-jsx) - Official Vue 3 jsx plugin.
239
-
-[vite-plugin-env-compatible@IndexXuan](https://github.com/IndexXuan/vite-plugin-env-compatible) - Env compatibility for vite with vue-cli.
240
-
-[vite-plugin-html-template@IndexXuan](https://github.com/IndexXuan/vite-plugin-html-template) - Like html-webpack-plugin for webpack.
241
237
-[vite-plugin-vue-cli@IndexXuan](https://github.com/IndexXuan/vite-plugin-vue-cli) - Infer vite config from vue.config.js.
238
+
-[vite-plugin-html-template@IndexXuan](https://github.com/IndexXuan/vite-plugin-html-template) - Like html-webpack-plugin for webpack.
242
239
-[vite-plugin-mpa@IndexXuan](https://github.com/IndexXuan/vite-plugin-mpa) - MPA support for vite.
240
+
-[vite-plugin-checker@fi3ework](https://github.com/fi3ework/vite-plugin-checker) - Type checker for vite.
241
+
-[vite-plugin-eslint@gxmari007](https://github.com/gxmari007/vite-plugin-eslint) - Eslint for vite.
242
+
-[vite-plugin-env-compatible@IndexXuan](https://github.com/IndexXuan/vite-plugin-env-compatible) - Env compatibility for vite with vue-cli.
0 commit comments