New rules `At least one <template> or <script> is required in a single file component` incompatible with 'vite-plugin-pages'
guibwl opened this issue · comments
Describe the bug
HI
vite-plugin-pages support SFC without <template>
or <script>
but now i got this
The new rule was defined here
vuejs/core@a0c7f27
Reproduction
System Info
System:
OS: macOS 12.5
CPU: (8) x64 Intel(R) Core(TM) i5-8279U CPU @ 2.40GHz
Memory: 102.19 MB / 8.00 GB
Shell: 5.8.1 - /bin/zsh
Binaries:
Node: 16.17.1 - ~/.nvm/versions/node/v16.17.1/bin/node
Yarn: 1.21.1 - /usr/local/bin/yarn
npm: 8.15.0 - ~/.nvm/versions/node/v16.17.1/bin/npm
Browsers:
Chrome: 107.0.5304.87
Safari: 15.6
npmPackages:
@vitejs/plugin-vue: ^3.0.0 => 3.2.0
@vitejs/plugin-vue-jsx: ^2.0.0 => 2.1.1
vite: ^3.0.0 => 3.2.3
Used Package Manager
pnpm
Validations
- Follow the Code of Conduct
- Read the docs.
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A please open a GitHub Discussion.
- The provided reproduction is a minimal reproducible example of the bug.