Code Monkey home page Code Monkey logo

bitfumesvue3apps's Introduction

bitfumesVue3Apps

  • bitfumesさんのGitHub『vue3-for-beginners』のソースをトレースしてみる
    • '22.7時点での環境で実装・構築を試してみる
    • vue create利用時と、create-vue利用時で変化点を確認する

[[TOC]]

参考資料

作成プロジェクト

  • トライアル1(@vue/cli crateによる構築環境での開発)
  • トライアル2(create-vueによる構築環境での開発)
    • トライアル1の作成コンテンツを流用して、変更されるパッケージに合わせて変更(ストア機能をpiniaにするなど)

利用パッケージ

  • some npm packages
  • bootstrap-reboot.css(v5.2.0) as code

利用方法

トライアル1(@vue/cli crateの開発環境)

  • コンパイル&モック起動
( cd 11_vue-create-app/ ; npm run serve; )
  • Lintチェック
( cd 11_vue-create-app/ ; npm run lint; )
  • Gitコミット時とビルド実行時は、Lintチェックが自動実行される

  • ビルドとデプロイ

( cd 11_vue-create-app/ ; npm run build; npm run deploy; )
  • テスト
    • まだ準備できてません

トライアル2(create-vueの開発環境)

  • まだ準備できてません

補足メモ

git-commit時に、ESLint+Prettierを利用する

$ cat .dummy-hooks/pre-commit
#!/bin/sh
#
( cd 11_vue-create-app; npm run lint-fix; );
git add -A ;
#
$
  • 設定変更:.git/config[core]hooksPathがhusky利用になってたのを戻す
$ cat .git/config
[core]
...
        hooksPath = .dummy-hooks
...
$

bitfumesvue3apps's People

Contributors

sgtao avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.