기본 테마 생성
빈 테마 생성 (터미널 환경)
$ php artisan make:theme <plugin> <name>$ php artisan make:theme my_plugin 'First Theme'
[New theme info]
plugin: my_plugin
path: src/Themes/FirstTheme
class file: src/Themes/FirstTheme/FirstThemeTheme.php
class name: GilDongHong\XePlugin\MyPlugin\Themes\FirstTheme\FirstThemeTheme
id: theme/my_plugin@first theme
title: FirstTheme theme
description: The Theme supported by My_plugin plugin.
Do you want to add theme? [yes|no]:
> yes
Generating autoload files
Theme is created successfully.빈 테마 생성 (웹 환경)

컨텐츠를 출력하는 방법
asset 파일 로드하기
이미지 파일 로드하기
css, js 파일 로드하기
Last updated
Was this helpful?