aki / yii2-app-vue
Yii 2 Basic Project Template width VueJs
1.2
2020-07-26 11:44 UTC
Requires
- php: >=5.6.0
- aki/yii2-vue: *
- yiisoft/yii2: ~2.0.14
- yiisoft/yii2-bootstrap: ~2.0.0
- yiisoft/yii2-swiftmailer: ~2.0.0 || ~2.1.0
Requires (Dev)
- codeception/codeception: ^4.0
- codeception/module-asserts: ^1.0.0
- codeception/module-filesystem: ^1.0.0
- codeception/module-yii2: ^1.0.0
- codeception/specify: ~0.4.6
- codeception/verify: ~0.5.0 || ~1.1.0
- symfony/browser-kit: >=2.7 <=4.2.4
- yiisoft/yii2-debug: ~2.1.0
- yiisoft/yii2-faker: ~2.0.0
- yiisoft/yii2-gii: ~2.1.0
This package is auto-updated.
Last update: 2024-11-29 06:03:49 UTC
README
for yii2 web application width vueJs
Installation
The preferred way to install this extension is through composer.
Either run
composer create-project aki/yii2-app-vue basic
php yii migrate
npm install
Usage
Development
npm run dev
or
npm run watch
Local Development Server
If you have PHP installed locally and you would like to use PHP's built-in development server to serve your application, you may use the serve yii command. This command will start a development server at http://localhost:8000:
php yii serve
Directory components vuejs to:
assets/ contains assets definition
commands/ contains console commands (controllers)
config/ contains application configurations
controllers/ contains Web controller classes
mail/ contains view files for e-mails
models/ contains model classes
runtime/ contains files generated during runtime
tests/ contains various tests for the basic application
vendor/ contains dependent 3rd-party packages
views/ contains view files for the Web application
assets/ contains assets files
js/ contains js files
components/ contains components vue files
sass/ contains scss files
web/ contains the entry script and Web resources