M
M
Monitorkin2017-01-20 13:04:27
Yii
Monitorkin, 2017-01-20 13:04:27

Is it possible to publish arbitrary files in AppAsset?

Can AppAsset publish arbitrary files like .xml? .txt?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Fedorov, 2017-01-20
@qonand

What for? You're doing something wrong... The AppAsset inherited from \yii\web\AssetBundle is a collection of resources shared by the application. A set of resources are styles and scripts that are necessary for the correct operation of the application, and there is no place for other files in them.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question