@@ -1746,6 +1746,172 @@ Generated by [AVA](https://avajs.dev).
1746
1746
}␊
1747
1747
`
1748
1748
1749
+ ## verify template: HTML
1750
+
1751
+ > Generated files
1752
+
1753
+ [
1754
+ '.editorconfig',
1755
+ '.gitignore',
1756
+ 'README.md',
1757
+ 'components/NuxtLogo.vue',
1758
+ 'components/Tutorial.vue',
1759
+ 'nuxt.config.js',
1760
+ 'package.json',
1761
+ 'pages/index.vue',
1762
+ 'static/favicon.ico',
1763
+ 'store/README.md',
1764
+ ]
1765
+
1766
+ > package.json
1767
+
1768
+ {
1769
+ dependencies: {
1770
+ 'core-js': '^3.25.0',
1771
+ nuxt: '^2.15.8',
1772
+ vue: '^2.7.10',
1773
+ 'vue-server-renderer': '^2.7.10',
1774
+ 'vue-template-compiler': '^2.7.10',
1775
+ },
1776
+ devDependencies: {},
1777
+ private: true,
1778
+ scripts: {
1779
+ build: 'nuxt build',
1780
+ dev: 'nuxt',
1781
+ generate: 'nuxt generate',
1782
+ start: 'nuxt start',
1783
+ },
1784
+ }
1785
+
1786
+ > Generated nuxt.config.js
1787
+
1788
+ `export default {␊
1789
+ // Global page headers: https://go.nuxtjs.dev/config-head␊
1790
+ head: {␊
1791
+ title: 'output',␊
1792
+ htmlAttrs: {␊
1793
+ lang: 'en'␊
1794
+ },␊
1795
+ meta: [␊
1796
+ { charset: 'utf-8' },␊
1797
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },␊
1798
+ { hid: 'description', name: 'description', content: '' },␊
1799
+ { name: 'format-detection', content: 'telephone=no' }␊
1800
+ ],␊
1801
+ link: [␊
1802
+ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }␊
1803
+ ]␊
1804
+ },␊
1805
+ ␊
1806
+ // Global CSS: https://go.nuxtjs.dev/config-css␊
1807
+ css: [␊
1808
+ ],␊
1809
+ ␊
1810
+ // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins␊
1811
+ plugins: [␊
1812
+ ],␊
1813
+ ␊
1814
+ // Auto import components: https://go.nuxtjs.dev/config-components␊
1815
+ components: true,␊
1816
+ ␊
1817
+ // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules␊
1818
+ buildModules: [␊
1819
+ ],␊
1820
+ ␊
1821
+ // Modules: https://go.nuxtjs.dev/config-modules␊
1822
+ modules: [␊
1823
+ ],␊
1824
+ ␊
1825
+ // Build Configuration: https://go.nuxtjs.dev/config-build␊
1826
+ build: {␊
1827
+ }␊
1828
+ }␊
1829
+ `
1830
+
1831
+ ## verify template: Pug
1832
+
1833
+ > Generated files
1834
+
1835
+ [
1836
+ '.editorconfig',
1837
+ '.gitignore',
1838
+ 'README.md',
1839
+ 'components/NuxtLogo.vue',
1840
+ 'components/Tutorial.vue',
1841
+ 'nuxt.config.js',
1842
+ 'package.json',
1843
+ 'pages/index.vue',
1844
+ 'static/favicon.ico',
1845
+ 'store/README.md',
1846
+ ]
1847
+
1848
+ > package.json
1849
+
1850
+ {
1851
+ dependencies: {
1852
+ 'core-js': '^3.25.0',
1853
+ nuxt: '^2.15.8',
1854
+ pug: '^3.0.2',
1855
+ 'pug-plain-loader': '^1.1.0',
1856
+ vue: '^2.7.10',
1857
+ 'vue-server-renderer': '^2.7.10',
1858
+ 'vue-template-compiler': '^2.7.10',
1859
+ },
1860
+ devDependencies: {},
1861
+ private: true,
1862
+ scripts: {
1863
+ build: 'nuxt build',
1864
+ dev: 'nuxt',
1865
+ generate: 'nuxt generate',
1866
+ start: 'nuxt start',
1867
+ },
1868
+ }
1869
+
1870
+ > Generated nuxt.config.js
1871
+
1872
+ `export default {␊
1873
+ // Global page headers: https://go.nuxtjs.dev/config-head␊
1874
+ head: {␊
1875
+ title: 'output',␊
1876
+ htmlAttrs: {␊
1877
+ lang: 'en'␊
1878
+ },␊
1879
+ meta: [␊
1880
+ { charset: 'utf-8' },␊
1881
+ { name: 'viewport', content: 'width=device-width, initial-scale=1' },␊
1882
+ { hid: 'description', name: 'description', content: '' },␊
1883
+ { name: 'format-detection', content: 'telephone=no' }␊
1884
+ ],␊
1885
+ link: [␊
1886
+ { rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }␊
1887
+ ]␊
1888
+ },␊
1889
+ ␊
1890
+ // Global CSS: https://go.nuxtjs.dev/config-css␊
1891
+ css: [␊
1892
+ ],␊
1893
+ ␊
1894
+ // Plugins to run before rendering page: https://go.nuxtjs.dev/config-plugins␊
1895
+ plugins: [␊
1896
+ ],␊
1897
+ ␊
1898
+ // Auto import components: https://go.nuxtjs.dev/config-components␊
1899
+ components: true,␊
1900
+ ␊
1901
+ // Modules for dev and build (recommended): https://go.nuxtjs.dev/config-modules␊
1902
+ buildModules: [␊
1903
+ ],␊
1904
+ ␊
1905
+ // Modules: https://go.nuxtjs.dev/config-modules␊
1906
+ modules: [␊
1907
+ ],␊
1908
+ ␊
1909
+ // Build Configuration: https://go.nuxtjs.dev/config-build␊
1910
+ build: {␊
1911
+ }␊
1912
+ }␊
1913
+ `
1914
+
1749
1915
## verify features: Axios - Promise based HTTP client, Progressive Web App (PWA), Content - Git-based headless CMS
1750
1916
1751
1917
> Generated files
0 commit comments