userbase-samples icon indicating copy to clipboard operation
userbase-samples copied to clipboard

add index.html to samples

Open AlbyIanna opened this issue 5 years ago • 1 comments

I've added index.html files to the samples root folders, and used HtmlWebpackPlugin to add them to the dist folder and add the <script> tag at the end of the body when you run npm run build.

I don't like the idea to copy the same index.html file in each sample, but I guess it's the only way if the aim is to keep them separated.

This should solve #9.

AlbyIanna avatar Jan 23 '20 00:01 AlbyIanna

@adaddeo since you decided to put index.html files directly inside the dist folder (#9), I think we can close this PR.

AlbyIanna avatar Jan 26 '20 11:01 AlbyIanna