feat: 添加 JSPage 页面,支持 JavaScript 文件,更新 ESLint 和 TypeScript 配置
Some checks failed
/ build-and-deploy-to-vercel (push) Successful in 1m33s
/ depcheck (push) Successful in 1m7s
/ playwright (push) Failing after 2m35s

This commit is contained in:
严浩
2025-01-03 17:06:47 +08:00
parent f5c0cb8665
commit 181213526e
7 changed files with 24 additions and 6 deletions

View File

@ -0,0 +1,8 @@
<script setup>
import { fnInJsFile } from './js-file';
</script>
<template>
<div>src/pages/js-page/index.page.vue</div>
<div>{{ fnInJsFile() }}</div>
</template>

View File

@ -0,0 +1,3 @@
export function fnInJsFile() {
return 'the function in js-file.js';
}

View File

@ -1,3 +0,0 @@
<template>
<p class="dark:bg-gray-800 bg-white text-gray-900 dark:text-gray-100">CONTENT</p>
</template>