Skip to content

Dev remove cordova loader #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

knaito-asial
Copy link
Contributor

www/components/cordova-loaderとcore-utilsを削除
www/components/loader.jsを修正(コメントのみにする)
src/index.htmlにcordova.jsの読み込みを追加

<script src="cordova.js"></script>

npm run build

@@ -12,11 +12,17 @@
</style>
<script type="module" crossorigin src="./assets/index.js"></script>
<link rel="stylesheet" href="./assets/index.css">
<script type="module">import.meta.url;import("_").catch(()=>1);async function* g(){};if(location.protocol!="file:"){window.__vite_is_modern_browser=true}</script>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@knaito-asial このテンプレートだけこの www/index.html の修正点違うのはなんでです?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

元のテンプレートがおかしいと思います。修正後は

修正後のvue3 navigationテンプレート
https://github.com/monaca-templates/onsenui-v2-vue3-navigation/blob/dev_remove_cordova_loader/www/index.html

修正後のvue3 tabbarテンプレート
https://github.com/monaca-templates/onsenui-v2-vue3-tabbar/blob/dev_remove_cordova_loader/www/index.html
で、どちらも同じになります。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants