Skip to content

Sass for generate CSS, ES6, only Vanilla JS (without any JS framework) and Webpack

License

Notifications You must be signed in to change notification settings

ibanjb/VanillaES6

Repository files navigation

Exercise

Completed ES6 Ajax Webpack UnitTest Docker Kubernetes

Accordion exercise done with ES6-Webpack-JsonServer

GitHub Logo

Requeriments

You need to have install it, as global, the next libraries:

$ npm install -g json-server            # for mock API calls

To execute it in a local environment

You will need to execute webpack and json-server both at same time (*).

Ide

In the 1st terminal window, run the json-server command:

json-server mocks\userData.json

In the 2nd terminal window, run webpack-dev-server with hot reloading:

npm run start

or

yarn start

(*) Anyway, if the API throw an error, a mock data will be used to display results

To generate the distribution package

You will need to launch the build process and deploy it the results located in the "dist" folder.

yarn build

Commands

$ npm run build               # generates bundler
$ npm run start               # starts local server with hot reloading

Github repository

GitHub Logo

Navigate to the Github page

About

Sass for generate CSS, ES6, only Vanilla JS (without any JS framework) and Webpack

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published