Code Monkey home page Code Monkey logo

Comments (7)

hiyakake avatar hiyakake commented on September 15, 2024

この方法が参考になりそう

https://qiita.com/ritukiii/items/a28033b30d7681492c98

概要

npmを使ってライブラリをインストール
→ライブラリのバージョンを管理できて良い

利用時はJSファイルに始めに

const $ = require('jQuery');

などとすることで、定義
あとはbrowserifyが依存解決してくれる

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

S先生

package.jsonに追加しておき
htmlやjsのときは通常通りlinkやrequire()でnode_moduleを参照するようにパスを書けば
特に特別なコマンドを叩かずともパスを解決してくれる。

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

先生の言っていることは、browserifyが前提なのでは?

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

含めないのが好ましいが、ここに消耗している時間はないので
Webpackによる方法が実現できなかったら、一旦おいておく

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

Webpackベースの方法を試す(ブランチ切ってやる)

参考
https://ics.media/entry/12140/#webpack-gulp
https://qiita.com/sansaisoba/items/921438a19cbf5a31ec53
https://speakerdeck.com/tomof/webpackgahe-gu-bi-yao-de-he-gu-fen-kariduraifalseka?slide=78
https://qiita.com/masato_makino/items/7130bbe408ca929e7f0d

つべこべいわず、とりあえずこれらのサイトにある情報だけで実現を試みる。
とりあえず手を動かせ。

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

Gitサブモジュールというやり方がる
https://blog.isao.co.jp/git%E3%81%A7%E3%82%AF%E3%83%AD%E3%83%BC%E3%83%B3%E3%81%A8%E5%90%8C%E6%99%82%E3%81%AB%E3%82%B5%E3%83%96%E3%83%A2%E3%82%B8%E3%83%A5%E3%83%BC%E3%83%AB%E3%82%92%E5%88%9D%E6%9C%9F%E5%8C%96%E3%80%81/
https://github.com/comame/comame.xyz-Compose

from ar-step.

hiyakake avatar hiyakake commented on September 15, 2024

Used byでいいや。
ブランチきって、�タスクランナー使わないやり方でやる。

今は個々で消耗しない。
後々移行でいいです........

ひろしです。。。。。

from ar-step.

Related Issues (20)

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.