R
R
rusline2017-02-05 14:29:40
Yii
rusline, 2017-02-05 14:29:40

How to transfer an existing site to the yii2 library?

I had a question, how to transfer everything from an existing site to yii2. You must initially transfer it to the frotend / web / folder, or you can only specify links to what and where. Or is there some simplest way, like with bootstrap, you specify only in one place in html and all bootstrap is connected, or is this impossible here?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Dmitry, 2017-02-05
@rusline

Good afternoon.
You can transfer, the appearance is generally without problems.
You only need to understand the yii2 framework structure.
All css, js are placed in the web/assetss folder, design images in the web, it is better to allocate a separate directory for this. css, js files are connected through the AppAssets. How to do this read here .
See how the output of static pages is arranged in the framework - index, about, contact. Using these examples, you can implement your pages. More details here .
To connect the database, read the official documentation, I have already given links.
Here is another good blog .

E
entermix, 2017-02-05
@entermix

Is this some kind of joke?
1. Find 10 differences between Yii and Twitter Bootstrap
2. Learn Yii
3. Make

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question