Skip to content

gicoi-lab/starter-phalcon3-vue-spa

Repository files navigation

starter-phalcon3-vue-spa

注意事項

  1. 專案根目錄 / 為標準 phalcon project 資料夾結構
  2. 專案目錄 /webapp-web 為 nodejs / webpack 專案目錄
  3. support phalcon3

重要檔案 for phalcon

  1. app/views/index/index.phtml
  2. app/views/index.phtml
  3. app/config/router.php
  4. app/config/services.php
  5. app/controllers/IndexController.php
  6. public/js & public/css

測試

  1. 預設路由: http://127.0.0.1:8000
  2. 直接訪問: http://127.0.0.1:8000/welcome
  3. act=TEST http://127.0.0.1:8000/welcome/TEST
  4. act=load, guid=c21856a8-101e-4d1a-a0ef-9c67c44b5c5f http://127.0.0.1:8000/welcome/load/c21856a8-101e-4d1a-a0ef-9c67c44b5c5f
  5. API entry point: http://127.0.0.1:8000/api/user?act=loading&guid=c21856a8-101e-4d1a-a0ef-9c67c44b5c5f

Screenshot

Image


Install

nodejs (optional)

nodejs packages

yarn install

or

npm install

Development

phalcon

run with

php -S 127.0.0.1:8000 -t public/ .htrouter.php

open http://127.0.0.1:8000

nodejs (optional)

TODO


The MIT License (MIT)

2021 Copyright (c) Gicoi Labs. JunYuan Yan [email protected], YaLing Peng

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published