LoginSignup
0
0

More than 5 years have passed since last update.

ディレクトリ(webpack)

Posted at

root/
┣ .gitignore
┣ .git
┃
┣ dest/ (変換されたファイルが格納されたフォルダ)【 public 】
┃  ┣ css/(変換前と同じディレクトリ)
┃  ┣ img/(同上)
┃  ┣ js/ (同上)
┃  ┣ .htaccess
┃  ┣ favicon.ico
┃  ┗ index.php
┃  
┣ resources (変換前のファイルが格納されたフォルダ)
┃    ┃
┃    ┣ json/
┃    ┃
┃    ┣ assets/
┃    ┃   ┣ img/
┃    ┃   ┃  ┣ common (サイト全体)
┃    ┃   ┃  ┣ キャンペーンページ A
┃    ┃   ┃  ┗ 会社概要ページ B
┃    ┃   ┃
┃    ┃   ┣ js/
┃    ┃   ┃  ┣ jquery.min.js
┃    ┃   ┃  ┣ common.js (サイト全体)
┃    ┃   ┃  ┗ library(ライブラリ別jsファイル)
┃    ┃   ┃
┃    ┃   ┗ sass/
┃    ┃      ┣ include
┃    ┃      ┃  ┣ キャンペーンページ A
┃    ┃      ┃  ┣ 会社概要ページ B
┃    ┃      ┃  ┣ module/(ヘッダー・フッター部分)
┃    ┃      ┃  ┣ reset.scss
┃    ┃      ┃  ┣ setting.scss
┃    ┃      ┃  ┗ root/(サイト全体共通)
┃    ┃      ┃  
┃    ┃      ┣ キャンペーンページA/(@import用)
┃    ┃      ┣ 会社概要ページB/(@import用)
┃    ┃      ┗ サイト全体/(@import用)
┃    ┃
┃    ┗ views(phpファイル格納)
┃         ┣ index.php
┃         ┣ include
┃         ┣ キャンペーンページ A
┃         ┗ 会社概要ページ B
┃
┣ package.json
┣ webpack.mix.js
┗ yarn.lock

srcフォルダが制作用。
destフォルダが公開用で設定。

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0