),\n use: loader\n })\n }\n\n return output\n}\n\nexports.createNotifierCallback = () =\u003E {\n const notifier = require('node-notifier')\n\n return (severity, errors) =\u003E {\n if (severity !== 'error') return\n\n const error = errors[0]\n const filename = error.file && error.file.split('!').pop()\n\n notifier.notify({\n title: packageConfig.name,\n message: severity + ': ' + error.name,\n subtitle: filename || '',\n icon: path.join(__dirname, 'logo.png')\n })\n }\n}\n","id":"18a661f6-45d7-43e9-9ff0-bba3950dc9e5","is_binary":false,"title":"utils.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"SykevBsb_ft","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst isProduction = process.env.NODE_ENV === 'production'\nconst sourceMapEnabled = isProduction\n ? config.build.productionSourceMap\n : config.dev.cssSourceMap\n\nmodule.exports = {\n loaders: utils.cssLoaders({\n sourceMap: sourceMapEnabled,\n extract: isProduction\n }),\n cssSourceMap: sourceMapEnabled,\n cacheBusting: config.dev.cacheBusting,\n transformToRequire: {\n video: ['src', 'poster'],\n source: 'src',\n img: 'src',\n image: 'xlink:href'\n }\n}\n","id":"425d5b14-25cd-45d2-978c-8ee63e36ca04","is_binary":false,"title":"vue-loader.conf.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"rJglDBjZOGK","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"'use strict'\nconst utils = require('.\u002Futils')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst merge = require('webpack-merge')\nconst path = require('path')\nconst baseWebpackConfig = require('.\u002Fwebpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst FriendlyErrorsPlugin = require('friendly-errors-webpack-plugin')\nconst portfinder = require('portfinder')\n\nconst HOST = process.env.HOST\nconst PORT = process.env.PORT && Number(process.env.PORT)\n\nconst devWebpackConfig = merge(baseWebpackConfig, {\n module: {\n rules: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap, usePostCSS: true })\n },\n \u002F\u002F cheap-module-eval-source-map is faster for development\n devtool: config.dev.devtool,\n\n \u002F\u002F these devServer options should be customized in \u002Fconfig\u002Findex.js\n devServer: {\n clientLogLevel: 'warning',\n historyApiFallback: {\n rewrites: [\n { from: \u002F.*\u002F, to: path.posix.join(config.dev.assetsPublicPath, 'index.html') },\n ],\n },\n hot: true,\n contentBase: false, \u002F\u002F since we use CopyWebpackPlugin.\n compress: true,\n host: HOST || config.dev.host,\n port: PORT || config.dev.port,\n open: config.dev.autoOpenBrowser,\n overlay: config.dev.errorOverlay\n ? { warnings: false, errors: true }\n : false,\n publicPath: config.dev.assetsPublicPath,\n proxy: config.dev.proxyTable,\n quiet: true, \u002F\u002F necessary for FriendlyErrorsPlugin\n watchOptions: {\n poll: config.dev.poll,\n }\n },\n plugins: [\n new webpack.DefinePlugin({\n 'process.env': require('..\u002Fconfig\u002Fdev.env')\n }),\n new webpack.HotModuleReplacementPlugin(),\n new webpack.NamedModulesPlugin(), \u002F\u002F HMR shows correct file names in console on update.\n new webpack.NoEmitOnErrorsPlugin(),\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fampedandwired\u002Fhtml-webpack-plugin\n new HtmlWebpackPlugin({\n filename: 'index.html',\n template: 'index.html',\n inject: true\n }),\n \u002F\u002F copy custom static assets\n new CopyWebpackPlugin([\n {\n from: path.resolve(__dirname, '..\u002Fstatic'),\n to: config.dev.assetsSubDirectory,\n ignore: ['.*']\n }\n ])\n ]\n})\n\nmodule.exports = new Promise((resolve, reject) =\u003E {\n portfinder.basePort = process.env.PORT || config.dev.port\n portfinder.getPort((err, port) =\u003E {\n if (err) {\n reject(err)\n } else {\n \u002F\u002F publish the new Port, necessary for e2e tests\n process.env.PORT = port\n \u002F\u002F add port to devServer config\n devWebpackConfig.devServer.port = port\n\n \u002F\u002F Add FriendlyErrorsPlugin\n devWebpackConfig.plugins.push(new FriendlyErrorsPlugin({\n compilationSuccessInfo: {\n messages: [`Your application is running here: http:\u002F\u002F${devWebpackConfig.devServer.host}:${port}`],\n },\n onErrors: config.dev.notifyOnErrors\n ? utils.createNotifierCallback()\n : undefined\n }))\n\n resolve(devWebpackConfig)\n }\n })\n})\n","id":"a0f8238c-363d-4973-886b-b2683c24c96b","is_binary":false,"title":"webpack.dev.conf.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"BJzlvrjW_GY","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"'use strict'\nconst path = require('path')\nconst utils = require('.\u002Futils')\nconst webpack = require('webpack')\nconst config = require('..\u002Fconfig')\nconst merge = require('webpack-merge')\nconst baseWebpackConfig = require('.\u002Fwebpack.base.conf')\nconst CopyWebpackPlugin = require('copy-webpack-plugin')\nconst HtmlWebpackPlugin = require('html-webpack-plugin')\nconst ExtractTextPlugin = require('extract-text-webpack-plugin')\nconst OptimizeCSSPlugin = require('optimize-css-assets-webpack-plugin')\nconst UglifyJsPlugin = require('uglifyjs-webpack-plugin')\n\nconst env = process.env.NODE_ENV === 'testing'\n ? require('..\u002Fconfig\u002Ftest.env')\n : require('..\u002Fconfig\u002Fprod.env')\n\nconst webpackConfig = merge(baseWebpackConfig, {\n module: {\n rules: utils.styleLoaders({\n sourceMap: config.build.productionSourceMap,\n extract: true,\n usePostCSS: true\n })\n },\n devtool: config.build.productionSourceMap ? config.build.devtool : false,\n output: {\n path: config.build.assetsRoot,\n filename: utils.assetsPath('js\u002F[name].[chunkhash].js'),\n chunkFilename: utils.assetsPath('js\u002F[id].[chunkhash].js')\n },\n plugins: [\n \u002F\u002F http:\u002F\u002Fvuejs.github.io\u002Fvue-loader\u002Fen\u002Fworkflow\u002Fproduction.html\n new webpack.DefinePlugin({\n 'process.env': env\n }),\n new UglifyJsPlugin({\n uglifyOptions: {\n compress: {\n warnings: false\n }\n },\n sourceMap: config.build.productionSourceMap,\n parallel: true\n }),\n \u002F\u002F extract css into its own file\n new ExtractTextPlugin({\n filename: utils.assetsPath('css\u002F[name].[contenthash].css'),\n \u002F\u002F Setting the following option to `false` will not extract CSS from codesplit chunks.\n \u002F\u002F Their CSS will instead be inserted dynamically with style-loader when the codesplit chunk has been loaded by webpack.\n \u002F\u002F It's currently set to `true` because we are seeing that sourcemaps are included in the codesplit bundle as well when it's `false`, \n \u002F\u002F increasing file size: https:\u002F\u002Fgithub.com\u002Fvuejs-templates\u002Fwebpack\u002Fissues\u002F1110\n allChunks: true,\n }),\n \u002F\u002F Compress extracted CSS. We are using this plugin so that possible\n \u002F\u002F duplicated CSS from different components can be deduped.\n new OptimizeCSSPlugin({\n cssProcessorOptions: config.build.productionSourceMap\n ? { safe: true, map: { inline: false } }\n : { safe: true }\n }),\n \u002F\u002F generate dist index.html with correct asset hash for caching.\n \u002F\u002F you can customize output by editing \u002Findex.html\n \u002F\u002F see https:\u002F\u002Fgithub.com\u002Fampedandwired\u002Fhtml-webpack-plugin\n new HtmlWebpackPlugin({\n filename: process.env.NODE_ENV === 'testing'\n ? 'index.html'\n : config.build.index,\n template: 'index.html',\n inject: true,\n minify: {\n removeComments: true,\n collapseWhitespace: true,\n removeAttributeQuotes: true\n \u002F\u002F more options:\n \u002F\u002F https:\u002F\u002Fgithub.com\u002Fkangax\u002Fhtml-minifier#options-quick-reference\n },\n \u002F\u002F necessary to consistently work with multiple chunks via CommonsChunkPlugin\n chunksSortMode: 'dependency'\n }),\n \u002F\u002F keep module.id stable when vendor modules does not change\n new webpack.HashedModuleIdsPlugin(),\n \u002F\u002F enable scope hoisting\n new webpack.optimize.ModuleConcatenationPlugin(),\n \u002F\u002F split vendor js into its own file\n new webpack.optimize.CommonsChunkPlugin({\n name: 'vendor',\n minChunks (module) {\n \u002F\u002F any required modules inside node_modules are extracted to vendor\n return (\n module.resource &&\n \u002F\\.js$\u002F.test(module.resource) &&\n module.resource.indexOf(\n path.join(__dirname, '..\u002Fnode_modules')\n ) === 0\n )\n }\n }),\n \u002F\u002F extract webpack runtime and module manifest to its own file in order to\n \u002F\u002F prevent vendor hash from being updated whenever app bundle is updated\n new webpack.optimize.CommonsChunkPlugin({\n name: 'manifest',\n minChunks: Infinity\n }),\n \u002F\u002F This instance extracts shared chunks from code splitted chunks and bundles them\n \u002F\u002F in a separate chunk, similar to the vendor chunk\n \u002F\u002F see: https:\u002F\u002Fwebpack.js.org\u002Fplugins\u002Fcommons-chunk-plugin\u002F#extra-async-commons-chunk\n new webpack.optimize.CommonsChunkPlugin({\n name: 'app',\n async: 'vendor-async',\n children: true,\n minChunks: 3\n }),\n\n \u002F\u002F copy custom static assets\n new CopyWebpackPlugin([\n {\n from: path.resolve(__dirname, '..\u002Fstatic'),\n to: config.build.assetsSubDirectory,\n ignore: ['.*']\n }\n ])\n ]\n})\n\nif (config.build.productionGzip) {\n const CompressionWebpackPlugin = require('compression-webpack-plugin')\n\n webpackConfig.plugins.push(\n new CompressionWebpackPlugin({\n asset: '[path].gz[query]',\n algorithm: 'gzip',\n test: new RegExp(\n '\\\\.(' +\n config.build.productionGzipExtensions.join('|') +\n ')
\n ),\n threshold: 10240,\n minRatio: 0.8\n })\n )\n}\n\nif (config.build.bundleAnalyzerReport) {\n const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin\n webpackConfig.plugins.push(new BundleAnalyzerPlugin())\n}\n\nmodule.exports = webpackConfig\n","id":"7f541eaf-5405-4b80-a2b2-b4d23fcfd141","is_binary":false,"title":"webpack.prod.conf.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"rk7gwrs-dft","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"'use strict'\nconst merge = require('webpack-merge')\nconst prodEnv = require('.\u002Fprod.env')\n\nmodule.exports = merge(prodEnv, {\n NODE_ENV: '\"development\"'\n})\n","id":"88953d4d-5897-4be6-8b51-754d909e8bc7","is_binary":false,"title":"dev.env.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"r1NlvBiW_GF","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"r1-PHoWdzt"},{"code":"'use strict'\n\u002F\u002F Template version: 1.3.1\n\u002F\u002F see http:\u002F\u002Fvuejs-templates.github.io\u002Fwebpack for documentation.\n\nconst path = require('path')\n\nmodule.exports = {\n dev: {\n\n \u002F\u002F Paths\n assetsSubDirectory: 'static',\n assetsPublicPath: '\u002F',\n proxyTable: {},\n\n \u002F\u002F Various Dev Server settings\n host: 'localhost', \u002F\u002F can be overwritten by process.env.HOST\n port: 8080, \u002F\u002F can be overwritten by process.env.PORT, if port is in use, a free one will be determined\n autoOpenBrowser: false,\n errorOverlay: true,\n notifyOnErrors: true,\n poll: false, \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdev-server\u002F#devserver-watchoptions-\n\n \u002F\u002F Use Eslint Loader?\n \u002F\u002F If true, your code will be linted during bundling and\n \u002F\u002F linting errors and warnings will be shown in the console.\n useEslint: true,\n \u002F\u002F If true, eslint errors and warnings will also be shown in the error overlay\n \u002F\u002F in the browser.\n showEslintErrorsInOverlay: false,\n\n \u002F**\n * Source Maps\n *\u002F\n\n \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdevtool\u002F#development\n devtool: 'cheap-module-eval-source-map',\n\n \u002F\u002F If you have problems debugging vue-files in devtools,\n \u002F\u002F set this to false - it *may* help\n \u002F\u002F https:\u002F\u002Fvue-loader.vuejs.org\u002Fen\u002Foptions.html#cachebusting\n cacheBusting: true,\n\n cssSourceMap: true\n },\n\n build: {\n \u002F\u002F Template for index.html\n index: path.resolve(__dirname, '..\u002Fdist\u002Findex.html'),\n\n \u002F\u002F Paths\n assetsRoot: path.resolve(__dirname, '..\u002Fdist'),\n assetsSubDirectory: 'static',\n assetsPublicPath: '\u002F',\n\n \u002F**\n * Source Maps\n *\u002F\n\n productionSourceMap: true,\n \u002F\u002F https:\u002F\u002Fwebpack.js.org\u002Fconfiguration\u002Fdevtool\u002F#production\n devtool: '#source-map',\n\n \u002F\u002F Gzip off by default as many popular static hosts such as\n \u002F\u002F Surge or Netlify already gzip all static assets for you.\n \u002F\u002F Before setting to `true`, make sure to:\n \u002F\u002F npm install --save-dev compression-webpack-plugin\n productionGzip: false,\n productionGzipExtensions: ['js', 'css'],\n\n \u002F\u002F Run the build command with an extra argument to\n \u002F\u002F View the bundle analyzer report after build finishes:\n \u002F\u002F `npm run build --report`\n \u002F\u002F Set to `true` or `false` to always turn it on or off\n bundleAnalyzerReport: process.env.npm_config_report\n }\n}\n","id":"d1a1750f-13ca-48f9-bf60-a01b84af0cbf","is_binary":false,"title":"index.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"SkSewHiZOft","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"r1-PHoWdzt"},{"code":"'use strict'\nmodule.exports = {\n NODE_ENV: '\"production\"'\n}\n","id":"cc0d5d4b-132c-4dfc-8034-a50546b13525","is_binary":false,"title":"prod.env.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"H1UgPHibOzt","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"r1-PHoWdzt"},{"code":"'use strict'\nconst merge = require('webpack-merge')\nconst devEnv = require('.\u002Fdev.env')\n\nmodule.exports = merge(devEnv, {\n NODE_ENV: '\"testing\"'\n})\n","id":"ddb69307-89e8-4d2d-a857-70fa66100973","is_binary":false,"title":"test.env.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"rywewHjZOGt","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"r1-PHoWdzt"},{"code":"$red: red;\n$white: rgb(121, 22, 22);\n$yellow: yellow;\n","id":"158277b6-36d5-4ad8-85f8-b4301cf0f469","is_binary":false,"title":"_vars.scss","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"rJoevBo-OfK","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"H1QDHs-_GF"},{"code":"https:\u002F\u002Frawcdn.githack.com\u002Falexisbertin\u002FVueSandbox\u002F1ddb959a68a0cc31cfba104c2df68b8fb381ee2c\u002Fbuild\u002Flogo.png","id":"44cb9bef-f4d5-433b-b5cc-9616ac538a35","is_binary":true,"title":"logo.png","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"B1e-vrj-dMY","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"\u002F\u002F The Vue build version to load with the `import` command\n\u002F\u002F (runtime-only or standalone) has been set in webpack.base.conf with an alias.\nimport Vue from \"vue\";\nimport App from \".\u002FApp\";\n\n\u002F\u002F background is white, because vendor is isolated from app, thus app's variables\n\u002F\u002F dont leak into vendor\n\nimport \"@\u002Fassets\u002Fapp.scss\";\nimport \"@\u002Fassets\u002Fvendor.scss\";\n\nVue.config.productionTip = false;\n\n\u002F* eslint-disable no-new *\u002F\nnew Vue({\n el: \"#app\",\n components: { App },\n template: \"\u003CApp\u002F\u003E\"\n});\n","id":"8a7466dc-8f58-4e9d-93d9-f372b4d1eba3","is_binary":false,"title":"main.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2022-12-29T02:15:43","upload_id":null,"shortid":"SJ1bPSsbufF","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJGwHjW_MK"},{"code":"\u003C!DOCTYPE html\u003E\n\u003Chtml\u003E\n \u003Chead\u003E\n \u003Cmeta charset=\"utf-8\" \u002F\u003E\n \u003Cmeta name=\"viewport\" content=\"width=device-width,initial-scale=1.0\" \u002F\u003E\n \u003Ctitle\u003E\n 画像の読み込みの開始および完了を検知する方法\n \u003C\u002Ftitle\u003E\n \u003C\u002Fhead\u003E\n\n \u003Cbody\u003E\n \u003Cdiv id=\"app\"\u003E\u003C\u002Fdiv\u003E\n \u003C!-- built files will be auto injected --\u003E\n \u003C\u002Fbody\u003E\n\u003C\u002Fhtml\u003E\n","id":"1836dc8b-eccd-40a1-87b7-2745be83ba60","is_binary":false,"title":"index.html","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2023-01-02T05:11:44","upload_id":null,"shortid":"rkugPHiWdGY","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":null},{"code":"{\n \"responsive-preview\": {\n \"Mobile\": [\n 320,\n 675\n ],\n \"Tablet\": [\n 1024,\n 765\n ],\n \"Desktop\": [\n 1400,\n 800\n ],\n \"Desktop HD\": [\n 1920,\n 1080\n ]\n }\n}","id":"fd44e070-958e-4ae8-a720-c9a1bdacd61a","is_binary":false,"title":"workspace.json","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2023-01-02T05:23:59","upload_id":null,"shortid":"SyewOckx9i","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"r1Pdqye9s"},{"code":"{\n \"name\": \"detect-loaded-and-start-reading-for-img-with-vuejs\",\n \"version\": \"1.0.0\",\n \"description\": \"\",\n \"main\": \"src\u002Fmain.js\",\n \"private\": true,\n \"scripts\": {\n \"dev\": \"webpack-dev-server --inline --progress --config build\u002Fwebpack.dev.conf.js\",\n \"start\": \"npm run dev\",\n \"unit\": \"jest --config test\u002Funit\u002Fjest.conf.js --coverage\",\n \"test\": \"npm run unit\",\n \"lint\": \"eslint --ext .js,.vue src test\u002Funit\",\n \"build\": \"node build\u002Fbuild.js\"\n },\n \"dependencies\": {\n \"vue\": \"2.6.7\"\n },\n \"devDependencies\": {\n \"autoprefixer\": \"^7.1.2\",\n \"babel-core\": \"^6.22.1\",\n \"babel-eslint\": \"^8.2.1\",\n \"babel-helper-vue-jsx-merge-props\": \"^2.0.3\",\n \"babel-jest\": \"^21.0.2\",\n \"babel-loader\": \"^7.1.1\",\n \"babel-plugin-dynamic-import-node\": \"^1.2.0\",\n \"babel-plugin-syntax-jsx\": \"^6.18.0\",\n \"babel-plugin-transform-es2015-modules-commonjs\": \"^6.26.0\",\n \"babel-plugin-transform-runtime\": \"^6.22.0\",\n \"babel-plugin-transform-vue-jsx\": \"^3.5.0\",\n \"babel-preset-env\": \"^1.3.2\",\n \"babel-preset-stage-2\": \"^6.22.0\",\n \"chalk\": \"^2.0.1\",\n \"copy-webpack-plugin\": \"^4.0.1\",\n \"css-loader\": \"^0.28.0\",\n \"eslint\": \"^4.15.0\",\n \"eslint-config-airbnb-base\": \"^11.3.0\",\n \"eslint-friendly-formatter\": \"^3.0.0\",\n \"eslint-import-resolver-webpack\": \"^0.8.3\",\n \"eslint-loader\": \"^1.7.1\",\n \"eslint-plugin-import\": \"^2.7.0\",\n \"eslint-plugin-vue\": \"^4.0.0\",\n \"extract-text-webpack-plugin\": \"^3.0.0\",\n \"file-loader\": \"^1.1.4\",\n \"friendly-errors-webpack-plugin\": \"^1.6.1\",\n \"html-webpack-plugin\": \"^2.30.1\",\n \"jest\": \"^22.0.4\",\n \"jest-serializer-vue\": \"^0.3.0\",\n \"node-notifier\": \"^5.1.2\",\n \"optimize-css-assets-webpack-plugin\": \"^3.2.0\",\n \"ora\": \"^1.2.0\",\n \"portfinder\": \"^1.0.13\",\n \"postcss-import\": \"^11.0.0\",\n \"postcss-loader\": \"^2.0.8\",\n \"postcss-url\": \"^7.2.1\",\n \"rimraf\": \"^2.6.0\",\n \"semver\": \"^5.3.0\",\n \"shelljs\": \"^0.7.6\",\n \"uglifyjs-webpack-plugin\": \"^1.1.1\",\n \"url-loader\": \"^0.5.8\",\n \"vue-jest\": \"^1.0.2\",\n \"vue-loader\": \"^13.3.0\",\n \"vue-style-loader\": \"^3.0.1\",\n \"vue-template-compiler\": \"^2.5.2\",\n \"webpack\": \"^3.6.0\",\n \"webpack-bundle-analyzer\": \"^2.9.0\",\n \"webpack-dev-server\": \"^2.9.1\",\n \"webpack-merge\": \"^4.1.0\"\n },\n \"engines\": {\n \"node\": \"\u003E= 6.0.0\",\n \"npm\": \"\u003E= 3.0.0\"\n },\n \"browserslist\": [\"\u003E 1%\", \"last 2 versions\", \"not ie \u003C= 8\"],\n \"keywords\": []\n}\n","id":"1b2c8238-90f1-4975-824d-0eb3373cb81b","is_binary":false,"title":"package.json","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2023-01-02T05:32:51","upload_id":null,"shortid":"ryYxwBsZuft","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":null},{"code":"\u003Ctemplate\u003E\n \u003Cdiv id=\"app\"\u003E\n \u003C!-- ※3 --\u003E\n \u003Cimg :src=\"url\" v-on:load=\"load\" \u002F\u003E\n \u003C\u002Fdiv\u003E\n\u003C\u002Ftemplate\u003E\n\n\u003Cscript\u003E\nexport default {\n name: \"App\",\n data() {\n return {\n url: \"https:\u002F\u002Fraw.githubusercontent.com\u002Fvuejs\u002Fart\u002Fmaster\u002Flogo.png\", \u002F\u002F ※1\n };\n },\n methods: {\n \u002F\u002F ※4\n load: function () {\n console.log(\"loaded\");\n },\n },\n \u002F\u002F ※2\n watch: {\n url: function (val, oldVal) {\n console.log(\"start loading\");\n console.log(val);\n },\n },\n};\n\u003C\u002Fscript\u003E\n\n\u003Cstyle lang=\"scss\"\u003E\n\u002F\u002F @import \".\u002Fassets\u002Fapp.scss\";\n\u002F\u002F @import \".\u002Fassets\u002Fvendor.scss\";\n\n#app {\n display: flex;\n justify-content: center;\n align-items: center;\n height: 100vh;\n\n img {\n width: 200px;\n height: 200px;\n }\n}\n\u003C\u002Fstyle\u003E\n","id":"0a103386-3f50-4569-948e-9ffdd61e162d","is_binary":false,"title":"App.vue","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2024-03-17T13:45:52","upload_id":null,"shortid":"SJcgwSo-OMY","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJGwHjW_MK"},{"code":"@import \".\u002Fvars\";\n\nbody {\n background: $white;\n margin: 0;\n}\n","id":"03393fcb-ce84-4d96-859b-72fa2bf56927","is_binary":false,"title":"app.scss","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2023-01-02T05:27:09","upload_id":null,"shortid":"rkhevBj-_ft","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"H1QDHs-_GF"},{"code":"$white: #fafafa !default;\n\nbody {\n background: $white;\n}\n","id":"c974ae16-f4f5-4f47-8f8f-8fffc31f1f4d","is_binary":false,"title":"vendor.scss","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"rJalvSsbOGt","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"H1QDHs-_GF"},{"code":"'use strict'\nconst path = require('path')\nconst utils = require('.\u002Futils')\nconst config = require('..\u002Fconfig')\nconst vueLoaderConfig = require('.\u002Fvue-loader.conf')\n\nfunction resolve (dir) {\n return path.join(__dirname, '..', dir)\n}\n\nconst createLintingRule = () =\u003E ({\n test: \u002F\\.(js|vue)$\u002F,\n loader: 'eslint-loader',\n enforce: 'pre',\n include: [resolve('src'), resolve('test')],\n options: {\n formatter: require('eslint-friendly-formatter'),\n emitWarning: !config.dev.showEslintErrorsInOverlay\n }\n})\n\nmodule.exports = {\n context: path.resolve(__dirname, '..\u002F'),\n entry: {\n app: '.\u002Fsrc\u002Fmain.js'\n },\n output: {\n path: config.build.assetsRoot,\n filename: '[name].js',\n publicPath: process.env.NODE_ENV === 'production'\n ? config.build.assetsPublicPath\n : config.dev.assetsPublicPath\n },\n resolve: {\n extensions: ['.js', '.vue', '.json'],\n alias: {\n 'vue
: 'vue\u002Fdist\u002Fvue.esm.js',\n '@': resolve('src'),\n }\n },\n module: {\n rules: [\n ...(config.dev.useEslint ? [createLintingRule()] : []),\n {\n test: \u002F\\.vue$\u002F,\n loader: 'vue-loader',\n options: vueLoaderConfig\n },\n {\n test: \u002F\\.js$\u002F,\n loader: 'babel-loader',\n include: [resolve('src'), resolve('test'), resolve('node_modules\u002Fwebpack-dev-server\u002Fclient')]\n },\n {\n test: \u002F\\.(png|jpe?g|gif|svg)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('img\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(mp4|webm|ogg|mp3|wav|flac|aac)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('media\u002F[name].[hash:7].[ext]')\n }\n },\n {\n test: \u002F\\.(woff2?|eot|ttf|otf)(\\?.*)?$\u002F,\n loader: 'url-loader',\n options: {\n limit: 10000,\n name: utils.assetsPath('fonts\u002F[name].[hash:7].[ext]')\n }\n }\n ]\n },\n node: {\n \u002F\u002F prevent webpack from injecting useless setImmediate polyfill because Vue\n \u002F\u002F source contains it (although only uses it if it's native).\n setImmediate: false,\n \u002F\u002F prevent webpack from injecting mocks to Node native modules\n \u002F\u002F that does not make sense for the client\n dgram: 'empty',\n fs: 'empty',\n net: 'empty',\n tls: 'empty',\n child_process: 'empty'\n }\n}\n","id":"fa05b815-6368-4b9d-b406-d2ada3a32c4d","is_binary":false,"title":"webpack.base.conf.js","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"S1ZevrjZOMK","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"HJgwHibuzK"},{"code":"","id":"0c78816c-af93-4a27-b75f-529aebf0f89b","is_binary":false,"title":".keep","sha":null,"inserted_at":"2024-03-17T13:44:57","updated_at":"2021-09-09T22:31:27","upload_id":null,"shortid":"HyBPrsbdMY","source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","directory_shortid":"ryvSoZOft"}],"feature_flags":{"comments":false,"container_lsp":false},"template":"vue-cli","restricted":false,"room_id":null,"ai_consent":true,"settings":{"ai_consent":null},"is_frozen":false,"source_id":"73ba822d-6063-4169-8d3f-27065c0d833f","alias":"detect-loaded-and-start-reading-for-img-with-vuejs-forked-6vxwzk","git":null,"pr_number":null,"title":"detect-loaded-and-start-reading-for-img-with-vuejs (forked)","tags":[],"forked_template_sandbox":{"alias":"initial-screen-display-scroll-to-center-specific-elementelement-with-vuejs-2ssx7g","id":"2ssx7g","title":"initial-screen-display-scroll-to-center-specific-elementelement-with-vuejs\u002F","template":"vue-cli","inserted_at":"2022-12-29T01:36:07","updated_at":"2023-01-02T05:10:38","git":null,"privacy":0,"custom_template":{"id":"f9b97147-dc15-4a0e-b3c6-fd68fb709578","title":"initial-screen-display-scroll-to-center-specific-elementelement-with-vuejs\u002F","color":"#61DAFB","v2":false,"url":null,"published":false,"icon_url":null,"official":false}},"forked_from_sandbox":null,"always_on":false,"privacy":0,"author":{"id":"4cc2eeba-2979-4ed4-8724-1fa912516846","name":"kkawazoe","username":"kkawazoe","avatar_url":"https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4644540?v=4","personal_workspace_id":"430995f4-0e1d-4068-9c64-88d679bc0fa0","subscription_plan":null,"subscription_since":null},"id":"6vxwzk","v2":false,"preview_secret":null,"npm_registries":[],"external_resources":[],"owned":false,"picks":[],"collection":false,"view_count":7377,"team":{"id":"430995f4-0e1d-4068-9c64-88d679bc0fa0","name":"kkawazoe","settings":{"ai_consent":{"public_sandboxes":true,"private_sandboxes":true}},"subscription_type":null,"avatar_url":"https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F4644540?v=4"},"base_git":null,"permissions":{"prevent_sandbox_export":false,"prevent_sandbox_leaving":false},"custom_template":null,"original_git_commit_sha":"1ddb959a68a0cc31cfba104c2df68b8fb381ee2c","screenshot_url":"https:\u002F\u002Fscreenshots.codesandbox.io\u002F6vxwzk\u002F2.png","is_sse":false,"original_git":null,"restrictions":{"free_plan_editing_restricted":false,"live_sessions_restricted":true},"authorization":"read"};