laravel-svelte-template-parser
laravel-svelte-template-parser
Clone Repository
- git clone git@github.com:hardikpatel1644/laravel-svelte-template-parser.git
Project Structure
- laravel-rest-api = laravel project directory - which contains rest-api for parsing yaml
- svelte-app = Svelte javascript framework project directory - which contains frontend web page application
- simple-js-parser.html = simple html file which contains html elements and simple javascript function to parse the template.
To Run application Please follow
- Run laravel-rest-api please run following commands
cd laravel-rest-api
composer update or composer install
php artisan serve
It will run the rest-api application on http://127.0.0.1:8000
- To run svelte application , please run following commands
cd svelte-app
npm install
npm run dev
It will run the svelte-frontend application on http://localhost:5000