Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d294b32

Browse files
committed
Merge branch 'btea-fix/component-ts-error' into v2
2 parents 040ebe5 + 255af91 commit d294b32

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎index.js‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -270,9 +270,9 @@ async function init() {
270270
// Supported package managers: pnpm > yarn > npm
271271
// Note: until <https://github.com/pnpm/pnpm/issues/3505> is resolved,
272272
// it is not possible to tell if the command is called by `pnpm init`.
273-
const packageManager = /pnpm/.test(process.env.npm_execpath)
273+
const packageManager = /pnpm/.test(process.env.npm_execpath??'')
274274
? 'pnpm'
275-
: /yarn/.test(process.env.npm_execpath)
275+
: /yarn/.test(process.env.npm_execpath??'')
276276
? 'yarn'
277277
: 'npm'
278278

‎template/code/router/src/views/HomeView.vue‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<script setup lang="ts">
1+
<script setup>
22
import TheWelcome from '@/components/TheWelcome.vue'
33
</script>
44

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /