P
P
Pavel Mikhalovsky2018-03-01 23:48:00
JavaScript
Pavel Mikhalovsky, 2018-03-01 23:48:00

How to collect the project in one html file?

I took the standard build from the vue site - VueJs with vue-router.
I wrote a small prototype using some ready-made components and chartjs to display charts, and also added css.
When I assemble a project, I assemble it as an html file and several js and css files, how can I assemble a single html.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
X
xmoonlight, 2018-03-02
@xmoonlight

Try this plugin (under Chrome) to save.

A
Alexander Tolerant, 2018-03-02
@mres

Try the HTML Webpack Plugin
There is an example of loading scripts into your index.html.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question